public static PropertyEditorSceneAdapter Create(string schemaType) { var category = ObjectSchemaSettings.GetConfig().Schemas[schemaType].Category; return(PropertyEditorSceneAdapter.CreateByCategory(category)); }
public static PropertyEditorSceneAdapter Create(MCS.Library.SOA.DataObjects.Security.SchemaObjectBase schemaObj) { var category = ObjectSchemaSettings.GetConfig().Schemas[schemaObj.SchemaType].Category; return(PropertyEditorSceneAdapter.CreateByCategory(category)); }