Class ValueWrapper<T>
Represents a wrapped value.
[Serializable]
public class ValueWrapper<T> : IValueWrapper
Type Parameters
T
The type of the value that is wrapped.
- Inheritance
-
ValueWrapper<T>
- Implements
- Extension Methods
Constructors
- ValueWrapper()
Initializes a new instance of the ValueWrapper<T> class.
- ValueWrapper(T)
Initializes a new instance of the ValueWrapper<T> class using the specified value.
Properties
- Value
Gets the value.
Methods
- Clone()
Creates a new object that is a copy of the current instance.
- Collect(IList)
Adds the value of this object to the specified collection.
- Equals(ValueWrapper<T>)
Indicates whether the current object is equal to another object of the same type.
- Equals(object)
Determines whether the specified object is equal to the current object.
- GetHashCode()
Calculates the hash code for this object.
- ToString()
Returns a string that represents the current object.