/// <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;
 }
コード例 #2
0
 /// <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;
 }