Click or drag to resize
IAccessContextTScope Interface
A context for accesses to side effects within an access scope of RequiredScope.

Namespace: AccessFlow
Assembly: AccessFlow (in AccessFlow.dll) Version: 1.0.0.2 (1.0.0.2)
Syntax
public interface IAccessContext<TScope> : IDisposable, 
	IChildContextualCreator<TScope, IAccessContext<TScope>>

Type Parameters

TScope
The type of the access scopes.

The IAccessContextTScope type exposes the following members.

Properties
  NameDescription
Public propertyAccessScopeLogic
The set calculus applied on the access scopes.
Public propertyDisposed
If the current instance has been disposed so that no new access may be scheduled.
Public propertyIsActive
If RequiredScope is completely owned by the current instance at the current time.
Public propertyRequiredScope
The access scope which shall be awailable for the current IAccessContextTScope. It may only be reduced during the live time of each IAccessContextTScope instance.
Top
Methods
  NameDescription
Public methodCreateChild
Creates a child contextual with an access scope of accessScope.
(Inherited from IChildContextualCreatorTScope, TChild.)
Public methodCreateChildWithin
Creates a child contextual with the same access scope as the parent.
(Inherited from IChildContextualCreatorTScope, TChild.)
Public methodCreateChildWithin(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.)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodIntersectRequiredScopeWith
Reduces the access scope of the current instance to the intersection of the current RequiredScope with maximumAccessScope.
Public methodUntilAvailable
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.
Public methodUntilAvailable(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.
Top
See Also