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); }
public static string ToSerialString(this CapabilityStatus value) => value switch {