LambdaSubContextualFactoryCreateTScope, TParent, TChildContextual Method |
Namespace: AccessFlowAssembly: AccessFlow (in AccessFlow.dll) Version: 1.0.0.2 (1.0.0.2)
Syntaxpublic static IChildContextualFactory<TScope, TParent, TChildContextual> Create<TScope, TParent, TChildContextual>(
Func<TParent, IAccessContext<TScope>, TChildContextual> creator
)
Public Shared Function Create(Of TScope, TParent, TChildContextual) (
creator As Func(Of TParent, IAccessContext(Of TScope), TChildContextual)
) As IChildContextualFactory(Of TScope, TParent, TChildContextual)
public:
generic<typename TScope, typename TParent, typename TChildContextual>
static IChildContextualFactory<TScope, TParent, TChildContextual>^ Create(
Func<TParent, IAccessContext<TScope>^, TChildContextual>^ creator
)
static member Create :
creator : Func<'TParent, IAccessContext<'TScope>, 'TChildContextual> -> IChildContextualFactory<'TScope, 'TParent, 'TChildContextual>
Parameters
- creator
- Type: SystemFuncTParent, IAccessContextTScope, TChildContextual
The function the new
IChildContextualFactoryTScope, TParent, TChildContextual
is implemented with.
Type Parameters
- TScope
- The type of the access scopes.
- TParent
-
The type of the parent access contextual.
- TChildContextual
-
The type of the created access contextual.
Return Value
Type:
IChildContextualFactoryTScope,
TParent,
TChildContextual
The new
IChildContextualFactoryTScope, TParent, TChildContextual.
See Also