Esempio n. 1
0
        internal static string ToSerializedValue(this IsRetryable value)
        {
            switch (value)
            {
            case IsRetryable.Yes:
                return("Yes");

            case IsRetryable.No:
                return("No");
            }
            return(null);
        }
Esempio n. 2
0
 public static string ToSerialString(this IsRetryable value) => value switch
 {