예제 #1
0
 /// <param name="attr">Attribute of property</param>
 /// <param name="displaying">Displays element over the 'Name' property</param>
 public NodeInfo(ComponentAttribute attr, string displaying = null)
     : this(attr.Name, attr.Description, new NodeIdent(attr.Name, null), InfoType.Component, displaying)
 {
     Aliases = attr.Aliases;
 }
예제 #2
0
 /// <param name="attr">Attribute of property</param>
 /// <param name="displaying">Displays element over the 'Name' property</param>
 public NodeInfo(ComponentAttribute attr, string displaying = null)
     : this(attr.Name, attr.Description, new NodeIdent(attr.Name, null), InfoType.Component, displaying)
 {
     Aliases = attr.Aliases;
 }