Exemplo n.º 1
0
 public FSItemLoader(FSItemLoaderState itemsLoaderState, string itemPath, IFSItemCollection itemCollection)
 {
     ItemPath         = itemPath;
     ItemsLoaderState = itemsLoaderState;
     ItemCollection   = itemCollection;
     BeginLoadItems();
 }
Exemplo n.º 2
0
 public FSNodeViewModel(
     FSItemModel itemModel,
     IFSItemCollectionFactory itemCollectionFactory,
     IFSItemManagerFactory itemManagerFactory) : base(itemModel)
 {
     _itemCollection = itemCollectionFactory.Create(Items);
     _itemManager    = itemManagerFactory.Create(Path, _itemCollection);
     _itemManager.UpdateLoaderState += OnUpdateLoaderState;
 }
Exemplo n.º 3
0
 public FSItemWatcher(string itemPath, IFSItemCollection itemCollection, IFSExplorer explorer)
 {
     _itemPath       = itemPath;
     _itemCollection = itemCollection;
     _explorer       = explorer;
 }