Class Container<T>
Represents a generic wrapper around an object, which can self-locate its position inside spaces (Space<C> objects).
Inherited Members
Namespace: MultidimLib
Syntax
public class Container<T> : Container
Type Parameters
| Name | Description |
|---|---|
| T | The objects' type that the container will wrap. |
Constructors
Container()
Initializes a new container (Container<T>) of the specified type.
Declaration
public Container()
Container(T)
Initializes a new container (Container<T>) that wraps the specified object.
Declaration
public Container(T value)
Parameters
| Type | Name | Description |
|---|---|---|
| T | value | The object to be wrapped by the container. |
Properties
Value
Gets or sets the object or data wrapped by the current container.
Declaration
public T Value { get; set; }
Property Value
| Type | Description |
|---|---|
| T | The object wrapped by the container. |