-
Notifications
You must be signed in to change notification settings - Fork 35
T_CodeJam_Option_1_None
andrewvk edited this page Jun 23, 2016
·
5 revisions
Represents an Option without value.
System.Object
CodeJam.Option(T)
CodeJam.Option(T).None
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public class None : Option<T>
VB
Public Class None
Inherits Option(Of T)
F#
type None =
class
inherit Option<'T>
end
The Option(T).None generic type exposes the following members.
Name | Description | |
---|---|---|
Option(T).None | Initializes a new instance of the Option(T).None class |
Name | Description | |
---|---|---|
HasValue | Gets a value indicating whether the current object has a value. (Inherited from Option(T).) | |
IsNone | Gets a value indicating whether the current object does not have a value. (Inherited from Option(T).) | |
IsSome | Gets a value indicating whether the current object has a value. (Inherited from Option(T).) | |
Value | Gets the value of the current object. (Inherited from Option(T).) |
Name | Description | |
---|---|---|
Equals(Object) | Indicates whether this instance and a specified object are equal. (Inherited from Option(T).) | |
Equals(Option(T)) | Indicates whether the current object is equal to another object of the same type. (Inherited from Option(T).) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Returns the hash code for this instance. (Overrides Option(T).GetHashCode().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns the fully qualified type name of this instance. (Inherited from Option(T).) |
Name | Description | |
---|---|---|
With(T, TResult)(Func(T, TResult)) | Overloaded. Converts option value to another option with selectFunc. (Defined by Option.) |
|
With(T, TResult)(Func(T, TResult), TResult) | Overloaded. Converts option value to another option with selectFunc. (Defined by Option.) |
|
With(T, TResult)(Func(T, TResult), Func(TResult)) | Overloaded. Converts option value to another option with selectFunc. (Defined by Option.) |