| IAccessContextTScope Interface |
Namespace: AccessFlow
public interface IAccessContext<TScope> : IDisposable, IChildContextualCreator<TScope, IAccessContext<TScope>>
The IAccessContextTScope type exposes the following members.
| Name | Description | |
|---|---|---|
| AccessScopeLogic |
The set calculus applied on the access scopes.
| |
| Disposed |
If the current instance has been disposed so that
no new access may be scheduled.
| |
| IsActive |
If RequiredScope is completely owned by the current
instance at the current time.
| |
| RequiredScope |
The access scope which shall be awailable for the current
IAccessContextTScope.
It may only be reduced during the live time of each
IAccessContextTScope instance.
|
| Name | Description | |
|---|---|---|
| CreateChild |
Creates a child contextual with an access scope of
accessScope.
(Inherited from IChildContextualCreatorTScope, TChild.) | |
| CreateChildWithin |
Creates a child contextual with
the same access scope as the parent.
(Inherited from IChildContextualCreatorTScope, TChild.) | |
| CreateChildWithin(TScope) |
Creates a child contextual with
same access scope as the intersection of
the access scope of the parent and
maximumAccessScope.
(Inherited from IChildContextualCreatorTScope, TChild.) | |
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
| IntersectRequiredScopeWith |
Reduces the access scope of the current instance to
the intersection of the current RequiredScope
with maximumAccessScope.
| |
| UntilAvailable |
Returns a Task
which completes as soon as the whole RequiredAcessScope
is owned by the current AccessContext
so that subsequent operations may actually modify
the resource managed by AccessFlow.
| |
| UntilAvailable(TScope) |
Returns a Task
which completes as soon as the scopeToOwn
is owned by the current instance
so that subsequent operations may actually modify
the resource managed by AccessFlow.
|