Example #1
0
        internal static string ToSerializedValue(this JobScheduleType value)
        {
            switch (value)
            {
            case JobScheduleType.Once:
                return("Once");

            case JobScheduleType.Recurring:
                return("Recurring");
            }
            return(null);
        }
 public static string ToSerialString(this JobScheduleType value) => value switch
 {