Пример #1
0
 static TupleType ToTupleType(string value)
 {
     if (!ToEnumConverter.TryTupleType(value, out var code))
     {
         throw new InvalidOperationException($"Invalid TupleType value: '{value}'");
     }
     return(code);
 }