internal static string ToSerializedValue(this AutoUserScope value)
        {
            switch (value)
            {
            case AutoUserScope.Task:
                return("task");

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