public IPropertyEditorConfig AddPropertyEditor <TCustomEditor>(string alias, string name) where TCustomEditor : BasePropertyEditor { var editor = new PropertyEditorConfig(alias, name, typeof(TCustomEditor)); _editors.Add(editor); return(editor); }
public IPropertyEditorConfig AddPropertyEditor(string alias, string name, EditorType editorType) { var editor = new PropertyEditorConfig(alias, name, GetEditorByEditorType(editorType)); _editors.Add(editor); return(editor); }