- IOptional
- IOptionalAsync
- OptionNone
- Default = new OptionNone()
- IsSome
- IsNone
- Select (Func<Unit, Unit> f)
- SelectMany <B, C> (Func<Unit, Option<B>> bind, Func<Unit, B, C> project)
- Where (Func<Unit, bool> f)
- true (OptionNone value)
- false (OptionNone value)
- GetHashCode ()
- MatchUntyped <R> (Func<object, R> Some, Func<R> None)
- MatchUntypedUnsafe <R> (Func<object, R> Some, Func<R> None)
- GetUnderlyingType ()
- GetEnumerator ()
- Equals (OptionNone other)
- CompareTo (OptionNone other)
- Bind <A> ()
- OptionNoneExt
- SomeContext <OPT, OA, A, B>
- SomeUnsafeContext <OPT, OA, A, B>
- SomeUnitContext <OPT, OA, A>
- SomeUnsafeUnitContext <OPT, OA, A>
interface IOptionalAsync Source #
struct OptionNone Source #
A unit type that represents Option.None
. This type can be implicitly
converted to Option or OptionUnsafe.
field OptionNone Default = new OptionNone() Source #
method Option<C> SelectMany <B, C> (Func<Unit, Option<B>> bind, Func<Unit, B, C> project) Source #
method int GetHashCode () Source #
method R MatchUntyped <R> (Func<object, R> Some, Func<R> None) Source #
method R MatchUntypedUnsafe <R> (Func<object, R> Some, Func<R> None) Source #
method Type GetUnderlyingType () Source #
method IEnumerator<Unit> GetEnumerator () Source #
class OptionNoneExt Source #
method Option<C> SelectMany <A, C> (this Option<A> ma, Func<A, OptionNone> bind, Func<A, Unit, C> project) Source #
class SomeContext <OPT, OA, A, B> Source #
Provides a fluent context when calling the Some(Func) method from a member of the Optional type-class. Must call None(Func) or None(Value) on this context to complete the matching operation.
type | A | Bound optional value type |
type | B | The operation return value type |
class SomeUnsafeContext <OPT, OA, A, B> Source #
Provides a fluent context when calling the Some(Func) method from a member of the Optional type-class. Must call None(Func) or None(Value) on this context to complete the matching operation.
type | A | Bound optional value type |
type | B | The operation return value type |
class SomeUnitContext <OPT, OA, A> Source #
Provides a fluent context when calling the Some(Action) method from Optional type-class. Must call None(Action) or None(Value) on this context to complete the matching operation.
type | A | Bound optional value type |
class SomeUnsafeUnitContext <OPT, OA, A> Source #
Provides a fluent context when calling the Some(Action) method from OptionalUnsafe type-class. Must call None(Action) or None(Value) on this context to complete the matching operation.
type | A | Bound optional value type |