Exemplo n.º 1
0
 public static bool Possible(this Tristate v) => v != Tristate.No;
Exemplo n.º 2
0
 public static bool Impossible(this Tristate v) => v == Tristate.No;
Exemplo n.º 3
0
 public static bool IsMaybe(this Tristate v) => v == Tristate.Maybe;
Exemplo n.º 4
0
 public static bool IsNo(this Tristate v) => v == Tristate.No;
Exemplo n.º 5
0
 public static bool IsYes(this Tristate v) => v == Tristate.Yes;