Constructor ScopedContext
ScopedContext(FieldBox<T>, T, T)
Constructor to link the context variable with the current scope context instance.
Declaration
public ScopedContext(FieldBox<T> contextScopedVariable, T initialValue, T disposedValue)
Parameters
Type | Name | Description |
---|---|---|
FieldBox<T> | contextScopedVariable | The context variable reference to manage during the scope context |
T | initialValue | InitialValue set during creation of the scope context |
T | disposedValue | The value to set when the scope context is disposed |