NullableEx
Ecng.Common
Represents a wrapper for nullable types that can be serialized.
Inherits: Equatable<NullableEx<T>>
Properties
HasValue
public bool HasValue { get; private set; }
value = nullableEx.HasValue
nullableEx.HasValue = value
Gets a value indicating whether the current NullableEx object has a valid value.
Value
public T Value { get; set; }
value = nullableEx.Value
nullableEx.Value = value
Gets or sets the value of the current NullableEx object.
Methods
Clone
public override NullableEx<T> Clone()
result = nullableEx.Clone()
Creates a new object that is a copy of the current instance.
Returns: A new object that is a copy of this instance.
GetHashCode
public override int GetHashCode()
result = nullableEx.GetHashCode()
Serves as the default hash function.
Returns: A hash code for the current object.