- 
                Notifications
    You must be signed in to change notification settings 
- Fork 35
Methods_T_CodeJam_ValueOption
        Andrew Koryavchenko edited this page Jul 4, 2017 
        ·
        3 revisions
      
    The ValueOption type exposes the following members.
| Name | Description | |
|---|---|---|
|    | None(T) | Creates instance of ValueOption without value. | 
|    | Some(T) | Creates instance of ValueOption with specified value. | 
|    | SomeHasValue(T)(Nullable(T)) | Creates instance of ValueOption with specified value, if value has value. | 
|    | SomeHasValue(T)(T) | Creates instance of ValueOption with specified value, if value not null. | 
|    | With(T, TResult)(ValueOption(T), Func(T, TResult)) | Converts option value to another option with selectFunc. | 
|    | With(T, TResult)(ValueOption(T), Func(T, TResult), Func(TResult)) | Converts option value to another option with selectFunc. | 
|    | With(T, TResult)(ValueOption(T), Func(T, TResult), TResult) | Converts option value to another option with selectFunc. |