public MainWindow() { InitializeComponent(); DBModule.DBConnection connection = new DBModule.DBConnection(); dependencyAnalyzer = new Analyzer.DependencyAnalyzer(10000, new AnalyserMap()); analyzer = dependencyAnalyzer.AnalyzerProxy; Thread.Sleep(3000); Thread t = new Thread(dependencyAnalyzer.Run); t.Start(); }
public DependencyAnalyzer(int sleepTime, IDataBaseAnalyser i) { SleepTime = sleepTime; AnalyzerProxy = new Analyzer(i); }