Пример #1
0
 public static void Apply <TValue>(this Option <TValue> option, Action <TValue> applyWhenSome, Action applyWhenNone)
 => option.Do(applyWhenSome, applyWhenNone);
Пример #2
0
 public static void Apply <TValue>(this Option <TValue> option, Action <TValue> apply)
 => option.Do(apply);