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

            case CapabilityStatus.Available:
                return("Available");

            case CapabilityStatus.Default:
                return("Default");

            case CapabilityStatus.Disabled:
                return("Disabled");
            }
            return(null);
        }
Exemple #2
0
 public static string ToSerialString(this CapabilityStatus value) => value switch
 {