示例#1
0
 /// <summary>
 /// Creates a category for a given parent. This sets the
 /// <see cref="ConnectionParent"/> reference, but does not
 /// automatically add the category to the parent's
 /// <see cref="SubConnections"/> collection.
 /// </summary>
 /// <param name="categoryName">The category's name.</param>
 /// <param name="connectionParent">The parent category, if any.</param>
 public ConnectionItem(string connectionName, ConnectionItem connectionParent)
     : this(connectionName, ConnectionTypeItems.folder, connectionParent)
 {
 }