Compartir a través de


Property.Create<TParent,TValue> Method

Definition

public static Microsoft.Azure.Commands.Common.Strategies.Property<TParent,TValue> Create<TParent,TValue> (Func<TParent,TValue> get, Action<TParent,TValue> set) where TParent : class;
static member Create : Func<'Parent, 'Value (requires 'Parent : null)> * Action<'Parent, 'Value (requires 'Parent : null)> -> Microsoft.Azure.Commands.Common.Strategies.Property<'Parent, 'Value (requires 'Parent : null)> (requires 'Parent : null)
Public Shared Function Create(Of TParent As Class, TValue As Class) (get As Func(Of TParent, TValue), set As Action(Of TParent, TValue)) As Property(Of TParent, TValue)

Type Parameters

TParent
TValue

Parameters

get
Func<TParent,TValue>
set
Action<TParent,TValue>

Returns

Applies to