Class ScopedContext<T>
ScopedContext class is a container that can be used in a using statement It manages lifetime of a FieldBox variable for the scope of a using statement
Implements
Inherited Members
Namespace: Mechatronics.SystemGraph
Assembly: solution.dll
Syntax
public class ScopedContext<T> : IDisposable
Type Parameters
Name | Description |
---|---|
T | The internal type to use for the container field box |
Constructors
Name | Description |
---|---|
ScopedContext(FieldBox<T>, T, T) | Constructor to link the context variable with the current scope context instance. |
Methods
Name | Description |
---|---|
Dispose() | Dispose implementation, called at the end of the scoped context |