• Performance
  • API Documentation
  • Source Code
Show / Hide Table of Contents
  • InSync
    • AsyncSynchronized
    • AsyncSynchronized<T>
    • GuardedValue<T>
    • IAsyncSynchronized<T>
    • IBareAsyncLock
    • IBareAsyncLock<T>
    • IBareLock
    • IBareLock<T>
    • ISynchronized<T>
    • LockException
    • MultiSync
    • ReaderSynchronized<TRead>
    • ReaderWriterSynchronized<T>
    • ReaderWriterSynchronized<TWrite, TRead>
    • ReaderWriterSynchronizedFactory
    • Synchronized
    • Synchronized<T>
    • TimingMethod
    • UnlockException
    • UpgradeableReaderSynchronized<TRead>
    • ValueContainer<T>

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
In This Article
Back to top Generated by DocFX