SomeContext<OPT, OA, A, B> Class

Provides a fluent context when calling the Some(Func) method from a member of the Optional<A> type-class. Must call None(Func) or None(Value) on this context to complete the matching operation.

DECLARATION
public class SomeContext<OPT, OA, A, B>
NAMESPACE
LanguageExt

Methods

None(Func<B>)
SUMMARY

The None branch of the matching operation

PARAMETERS
noneHandler
Func<B>
None branch operation
DECLARATION
public B None(Func<B> noneHandler)
RETURNS
B
None(B)
SUMMARY

The None branch of the matching operation

PARAMETERS
noneValue
B
DECLARATION
public B None(B noneValue)
RETURNS
B