Share via


NestedResourceConfig<TModel,TParenModel> Constructor

Definition

public NestedResourceConfig (Microsoft.Azure.Commands.Common.Strategies.IEntityConfig<TParenModel> parent, Microsoft.Azure.Commands.Common.Strategies.NestedResourceStrategy<TModel,TParenModel> strategy, string name, Func<Microsoft.Azure.Commands.Common.Strategies.IEngine,TModel> createModel, System.Collections.Generic.IEnumerable<Microsoft.Azure.Commands.Common.Strategies.IEntityConfig> dependencies);
new Microsoft.Azure.Commands.Common.Strategies.NestedResourceConfig<'Model, 'ParenModel (requires 'Model : null and 'ParenModel : null)> : Microsoft.Azure.Commands.Common.Strategies.IEntityConfig<'ParenModel (requires 'ParenModel : null)> * Microsoft.Azure.Commands.Common.Strategies.NestedResourceStrategy<'Model, 'ParenModel (requires 'Model : null and 'ParenModel : null)> * string * Func<Microsoft.Azure.Commands.Common.Strategies.IEngine, 'Model (requires 'Model : null)> * seq<Microsoft.Azure.Commands.Common.Strategies.IEntityConfig> -> Microsoft.Azure.Commands.Common.Strategies.NestedResourceConfig<'Model, 'ParenModel (requires 'Model : null and 'ParenModel : null)>
Public Sub New (parent As IEntityConfig(Of TParenModel), strategy As NestedResourceStrategy(Of TModel, TParenModel), name As String, createModel As Func(Of IEngine, TModel), dependencies As IEnumerable(Of IEntityConfig))

Parameters

parent
IEntityConfig<TParenModel>
strategy
NestedResourceStrategy<TModel,TParenModel>
name
String
createModel
Func<IEngine,TModel>
dependencies
IEnumerable<IEntityConfig>

Applies to