Exemple #1
0
 public void GetStatus(string rootPath)
 {
     Status status;
     if (!statusCache.ContainsKey(rootPath))
     {
         status = new Status(rootPath);
         status.OnResult += new StatusResult(status_OnResult);
         statusCache[rootPath] = status;
     }
     else status = statusCache[rootPath];
     ignoreDirty = true;
     status.Update();
 }
Exemple #2
0
 void status_OnResult(Status status)
 {
     ignoreDirty = false;
     if (OnChange != null) OnChange(this);
 }