Share via


StateExtensions.Get<TModel,TParentModel> Method

Definition

public static TModel Get<TModel,TParentModel> (this Microsoft.Azure.Commands.Common.Strategies.IState state, Microsoft.Azure.Commands.Common.Strategies.NestedResourceConfig<TModel,TParentModel> config) where TModel : class where TParentModel : class;
static member Get : Microsoft.Azure.Commands.Common.Strategies.IState * Microsoft.Azure.Commands.Common.Strategies.NestedResourceConfig<'Model, 'ParentModel (requires 'Model : null and 'ParentModel : null)> -> 'Model (requires 'Model : null and 'ParentModel : null)
<Extension()>
Public Function Get(Of TModel As Class, TParentModel As Class) (state As IState, config As NestedResourceConfig(Of TModel, TParentModel)) As TModel

Type Parameters

TModel
TParentModel

Parameters

state
IState
config
NestedResourceConfig<TModel,TParentModel>

Returns

TModel

Applies to