Class OptionElse
- Namespace
- DynamicData.Kernel
- Assembly
- DynamicData.dll
Continuation container used for the else operator on an option object.
public sealed class OptionElse
- Inheritance
-
OptionElse
Methods
Else(Action)
Invokes the specified action when an option has no value.
public void Else(Action action)
Parameters
action
ActionThe action.
Exceptions
- ArgumentNullException
action.