Represents an element that may not have valid value.
Namespace: Microsoft.Research.DryadLinq
Assembly: Microsoft.Research.DryadLinq (in Microsoft.Research.DryadLinq.dll) Version: 0.2.1.0 (0.2.1.0)
Syntax
[SerializableAttribute] public struct ForkValue<T> : IForkValue, IEquatable<ForkValue<T>>
Type Parameters
- T
- The element type
The ForkValueT type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | ForkValueT |
Initializes an instance of ForkValue{T}. Its element has valid value.
|
Methods
Name | Description | |
---|---|---|
![]() | Equals(Object) | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) |
![]() | Equals(ForkValueT) |
Determines whether the current ForkValue is equal to a specified ForkValue
|
![]() | GetHashCode |
Gets the hash code of this instance of ForkValue.
(Overrides ValueTypeGetHashCode.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Properties
Name | Description | |
---|---|---|
![]() | HasValue |
true iff the value of the element is valid.
|
![]() | Value |
Gets the value of the element. It is valid only if HasValue returns true.
|
See Also