This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying that "sjoshua270.id" is my Blockstack ID. https://onename.com/sjoshua270 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class TreeViewItemViewModel : INotifyPropertyChanged | |
{ | |
#region Data | |
static readonly TreeViewItemViewModel DummyChild = new TreeViewItemViewModel(); | |
readonly ObservableCollection<TreeViewItemViewModel> _children; | |
readonly TreeViewItemViewModel _parent; | |
bool _isExpanded; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class OUViewModel : TreeViewItemViewModel | |
{ | |
readonly DirectoryEntry _de; | |
private Stack<string> searchStack = new Stack<string>(); | |
public OUViewModel(DirectoryEntry de, OUViewModel parent) | |
// The DirectorySearcher here is checking to see if there are any children under this DirectoryEntry | |
: base(parent, new DirectorySearcher(de, "(objectClass=organizationalUnit)", null, SearchScope.OneLevel).FindOne() != null) | |
{ | |
_de = de; |