Exemple #1
0
 private void DocumentChangeWatcher_DocumentOpened(object sender, CodeProject.DocumentChangedEventArgs e)
 {
     if (e.Document == null)
     {
         return;
     }
     this.lastDirtyStateBeforePartialCompileIndex[e.Document.DocumentReference] = new CodeProject.PartialCompileDirtyState?();
 }
Exemple #2
0
 private void DocumentChangeWatcher_DocumentClosed(object sender, CodeProject.DocumentChangedEventArgs e)
 {
     if (e.Document == null || !this.lastDirtyStateBeforePartialCompileIndex.ContainsKey(e.Document.DocumentReference))
     {
         return;
     }
     this.lastDirtyStateBeforePartialCompileIndex.Remove(e.Document.DocumentReference);
 }