Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ContainerNode"/> class.
 /// </summary>
 public ContainerNode(string name, string caption, ContainerNodeRole role)
 {
     this.children = new List <ContainerNode>();
     this.Caption  = caption;
     this.Role     = role;
     this.Name     = name;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ContainerNode"/> class.
 /// </summary>
 public ContainerNode(string caption, ContainerNodeRole role)
     : this(caption, caption, role)
 {
 }