예제 #1
0
 public ParseService(IUnsavedFileProvider unsavedProvider)
 {
     _lock = new object();
     _unsavedFileProvider = unsavedProvider;
     _parseThreads = new ParseThreads();
     _parsedVersions = new Dictionary<FilePath, ulong>();
     _parseThreads.Run = true;
     Services.Provider.WorkspaceController.WorkspaceChanged += OnWorkspaceChanged;
 }
예제 #2
0
 public void Dispose()
 {
     if (_parseThreads == null) return;
     _parseThreads.Run = false;
     _parseThreads = null;
 }