Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AssemblyGroupNode"/> class.
 /// </summary>
 /// <param name="assemblyGroup">The represented assembly group.</param>
 /// <param name="nodeCreator">The node creator.</param>
 public AssemblyGroupNode(AssemblyGroup assemblyGroup, INodeCreator nodeCreator)
 {
     this.assemblyGroup = assemblyGroup;
     this.displayName   = assemblyGroup.Name;
     this.nodeCreator   = nodeCreator;
     this.IsExpanded    = true;
     this.Visibility    = this.Assemblies.Count == 0 ? Visibility.Collapsed : Visibility.Visible;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="AssemblyGroupNode"/> class.
 /// </summary>
 /// <param name="assemblyGroup">The represented assembly group.</param>
 /// <param name="nodeCreator">The node creator.</param>
 public AssemblyGroupNode(AssemblyGroup assemblyGroup, INodeCreator nodeCreator)
 {
     this.assemblyGroup = assemblyGroup;
     this.displayName = assemblyGroup.Name;
     this.nodeCreator = nodeCreator;
     this.IsExpanded = true;
     this.Visibility = this.Assemblies.Count == 0 ? Visibility.Collapsed : Visibility.Visible;
 }