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

            case RoleDefinitionType.CustomRole:
                return("CustomRole");
            }
            return(null);
        }
예제 #2
0
 public static string ToSerialString(this RoleDefinitionType value) => value switch
 {