public void Release() { OnActionSnapshotBackup = null; OnActionSnapshotRestore = null; OnClosing = null; OnInitialized = null; OnLoaded = null; OnOpened = null; OnClosed = null; SnapshotsFolder = null; LastSnapshot = null; Watcher = null; foreach (var category in Categories) { category.OnEquals = null; category.OnToString = null; } Categories.Clear(); foreach (var snapshot in Snapshots) { foreach (var pair in snapshot.CustomValues) { pair.Value.OnToString = null; } snapshot.OnEquals = null; } Snapshots.Clear(); SnapshotColumnsDefinition.Clear(); ProcessNames.Clear(); }
public void SetupWatcher(EngineWatcher watcher) { Watcher = watcher; }