Skip to content

Commit

Permalink
comments to public properties added
Browse files Browse the repository at this point in the history
  • Loading branch information
dnenov committed Nov 14, 2023
1 parent be5fdcb commit f733ae1
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using Dynamo.Utilities;

namespace Dynamo.PackageManager.UI
{
public enum DependencyType
Expand All @@ -20,6 +13,10 @@ public class PackageItemRootViewModel : PackageItemViewModel
private ObservableCollection<PackageItemViewModel> _items = new ObservableCollection<PackageItemViewModel>();
private ObservableCollection<PackageItemRootViewModel> _childitems = new ObservableCollection<PackageItemRootViewModel>();
public override ObservableCollection<PackageItemViewModel> Items { get { return _items; } set { _items = value; } }
/// <summary>
/// This collection contains all nested items, if any
/// Will only contain items if a Folder. Nested items can be Files (custon nodes, assemblies, files) or other Folders
/// </summary>
public ObservableCollection<PackageItemRootViewModel> ChildItems { get { return _childitems; } set { _childitems = value; } }

/// <summary>
Expand All @@ -37,6 +34,9 @@ public class PackageItemRootViewModel : PackageItemViewModel
/// </summary>
public string DirectoryName { get; private set; }

/// <summary>
/// Shows if this item is a nested item to another, i.e. belongs to its 'ChildItems' collection
/// </summary>
internal bool isChild;

/// <summary>
Expand Down

0 comments on commit f733ae1

Please sign in to comment.