예제 #1
0
 private TreeTaskManager()
 {
     this._schedulingLock   = new object();
     this._runningTasksLock = new object();
     this._treeControl      = null;
     this.ProgressManager   = null;
     this._nodeCounter      = null;
     this.RunningTasks      = new ObservableConcurrentDictionary <long, TreeTask>();
 }
 public StorageSerializationInfo(
     MsSqlAuditorModel model,
     ConnectionTabControl tabControl,
     string outputPath,
     bool saveCurrentDatabase,
     bool saveHistoricDatabase
     )
 {
     this.Model                = model;
     this.TabControl           = tabControl;
     this.OutputFolder         = outputPath;
     this.SaveCurrentDatabase  = saveCurrentDatabase;
     this.SaveHistoricDatabase = saveHistoricDatabase;
 }
 public StorageSerializer(MsSqlAuditorModel model, ConnectionTabControl connectionTabControl)
 {
     this._model = model;
     this._connectionTabControl = connectionTabControl;
     this._dateSuffix           = DateTime.Now.ToString("s").Replace(":", "-");
 }
예제 #4
0
 public TreeTaskManager(ConnectionTabControl treeControl) : this()
 {
     this.ProgressManager = new TreeTaskProgressManager(this);
     this._treeControl    = treeControl;
     this._nodeCounter    = new NodeCounter(treeControl._model);
 }