public virtual void Init() { _baseDirectory = Path.GetFullPath(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "..\\..")); _paths = new PathUtility(); _win32 = new Win32IO(); _scanner = new FileSystemScanner(_paths, _win32); }
public ClientWindowViewModel() { Predictions = new List <Dictionary <string, string> >(); DiagrammPainter = new Painter(); IoService = new Win32IO(); ConfigProvider = new SettingsProvider(); ClientController.TransferPredictions += HandlePredictions; InitAlgorithms(); InitializeClient(); InitializeCommands(); InitInputGBoxesVisual(); }