AccessContextCreateTScope Method |
Namespace: AccessFlowAssembly: AccessFlow (in AccessFlow.dll) Version: 1.0.0.2 (1.0.0.2)
Syntaxpublic static IAccessContext<TScope> Create<TScope>(
IAccessScopeLogic<TScope> accessScopeLogic,
TScope accessScope
)
Public Shared Function Create(Of TScope) (
accessScopeLogic As IAccessScopeLogic(Of TScope),
accessScope As TScope
) As IAccessContext(Of TScope)
public:
generic<typename TScope>
static IAccessContext<TScope>^ Create(
IAccessScopeLogic<TScope>^ accessScopeLogic,
TScope accessScope
)
static member Create :
accessScopeLogic : IAccessScopeLogic<'TScope> *
accessScope : 'TScope -> IAccessContext<'TScope>
Parameters
- accessScopeLogic
- Type: AccessFlowIAccessScopeLogicTScope
The type of access scope logic.
- accessScope
- Type: TScope
The access scope of the new root access context.
Every access scope
which is derived from the access scope created by this method
will have an access scope contained by
accessScope.
Type Parameters
- TScope
- The type of the access scope.
Return Value
Type:
IAccessContextTScope
The new created
IAccessContextTScope.
See Also