Exemplo n.º 1
0
        public IPropertyEditorConfig AddPropertyEditor <TCustomEditor>(string alias, string name) where TCustomEditor : BasePropertyEditor
        {
            var editor = new PropertyEditorConfig(alias, name, typeof(TCustomEditor));

            _editors.Add(editor);
            return(editor);
        }
Exemplo n.º 2
0
        public IPropertyEditorConfig AddPropertyEditor(string alias, string name, EditorType editorType)
        {
            var editor = new PropertyEditorConfig(alias, name, GetEditorByEditorType(editorType));

            _editors.Add(editor);
            return(editor);
        }