/// <summary> /// Constructor. /// </summary> /// <param name="vm">Type of the editor.</param> /// <param name="constructor">Constructor delegate.</param> public PropertyGridEditorViewModelAttribute(Type vm, PropertyGridViewModelConstructor<ModelElement> constructor) { this.ViewModelType = vm; this.ConstructorDelegate = constructor; }
/// <summary> /// Constructor. /// </summary> /// <param name="vm">Type of the editor.</param> /// <param name="constructor">Constructor delegate.</param> public PropertyGridEditorViewModelAttribute(Type vm, PropertyGridViewModelConstructor <ModelElement> constructor) { this.ViewModelType = vm; this.ConstructorDelegate = constructor; }