Exemple #1
0
 public Expectation(char value, char otherValue)
 {
     Kind       = ExpectationKind.Either;
     Value      = value;
     OtherValue = otherValue;
     Many       = default;
 }
Exemple #2
0
 public Expectation(ImmutableArray <char> many)
 {
     Kind       = ExpectationKind.Any;
     Value      = default;
     OtherValue = default;
     Many       = many;
 }
Exemple #3
0
 public Expectation(char value)
 {
     Kind       = ExpectationKind.Single;
     Value      = value;
     OtherValue = default;
     Many       = default;
 }
 public static string Enum_ExpectationKind_ToString(ExpectationKind v)
 {
     switch (v) {
      case ExpectationKind.aInstantaneous: return "Instantaneous";
      case ExpectationKind.aContinuous: return "Continuous";
     } return "";
 }