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