public LocalFileSmartSyncStateOperations(DirectoryInfo stateDir) { var path = Path.Combine(stateDir.FullName, StateFileName); _stateFile = new FileInfo(path); _counter = new AtomicFileCounter(_stateFile.FullName + ".ver"); }
virtual protected void Dispose(bool disposing) { if (disposing) { if (_counter != null) { _counter.Dispose(); _counter = null; } } }
protected virtual void Dispose(bool disposing) { if (disposing) { if (_counter != null) { _counter.Dispose(); _counter = null; } } }