internal static string ToSerializedValue(this UpgradeOperationInvoker value)
        {
            switch (value)
            {
            case UpgradeOperationInvoker.Unknown:
                return("Unknown");

            case UpgradeOperationInvoker.User:
                return("User");

            case UpgradeOperationInvoker.Platform:
                return("Platform");
            }
            return(null);
        }
Example #2
0
 public static string ToSerialString(this UpgradeOperationInvoker value) => value switch
 {