Class ValueContainer<T>
Provides a way to change the protected value or protect a struct
in Synchronized and the variances.
Inheritance
System.Object
ValueContainer<T>
Namespace: InSync
Assembly: InSync.dll
Syntax
public class ValueContainer<T> : object
Type Parameters
Name | Description |
---|---|
T |
Constructors
ValueContainer(T)
Initializes a new instance of ValueContainer<T> that contains the value.
Declaration
public ValueContainer(T value)
Parameters
Type | Name | Description |
---|---|---|
T | value |
Fields
Value
The value to protect.
Declaration
public T Value
Field Value
Type | Description |
---|---|
T |