Beispiel #1
0
 public ToolboxItemDefinition(Guid id, string name, ToolboxItemData data, IEnumerable <Type> compatibleTypes, ImageMoniker moniker = default, bool serializable = true)
 {
     Id              = id;
     Name            = name;
     Data            = data;
     CompatibleTypes = new TypeArray <ILayoutItem>(compatibleTypes, true);
     ImageMoniker    = moniker;
     Serializable    = serializable;
 }
Beispiel #2
0
 public ToolboxItemDefinition(string name, ToolboxItemData data, IEnumerable <Type> compatibleTypes, ImageMoniker moniker = default, bool serializable = true) :
     this(Guid.Empty, name, data, compatibleTypes, moniker, serializable)
 {
 }