Ejemplo n.º 1
0
 public void SetData(string path)
 {
     SizeWorkers.Clear();
     CurrentRoot = path;
     TryCatch.Current.Invoke(() => {
         Items.Add(path);
         AfterItemsChanged?.Invoke();
     });
     SizeWorkers.Add(this, Items);
     NotifyDataSetChanged();
 }
Ejemplo n.º 2
0
 public void SetData(List <string> paths)
 {
     SizeWorkers.Clear();
     CurrentRoot = string.Empty;
     TryCatch.Current.Invoke(() => {
         Items.Add(paths);
         AfterItemsChanged?.Invoke();
     });
     SizeWorkers.Add(this, Items);
     NotifyDataSetChanged();
 }