コード例 #1
0
        internal static string ToSerializedValue(this AllowedCustomerOperationsEnum value)
        {
            switch (value)
            {
            case AllowedCustomerOperationsEnum.Read:
                return("Read");

            case AllowedCustomerOperationsEnum.Update:
                return("Update");

            case AllowedCustomerOperationsEnum.Delete:
                return("Delete");
            }
            return(null);
        }
コード例 #2
0
 public static string ToSerialString(this AllowedCustomerOperationsEnum value) => value switch
 {