Example #1
0
 public BuildController(SDBuildStrings sdBuildStrings, IConfigController configController, IBuildMessenger buildMessenger, IExporter[] allExporters)
 {
     _configController = configController;
     _sdBuildStrings = sdBuildStrings;
     _buildMessenger = (BuildMessenger)buildMessenger;
     _allExporters = allExporters;
 }
Example #2
0
 public SDConsole(SDConsoleStrings strings, IConfigController configController, BuildMessenger buildMessenger, Func<BuildController> builderFactory)
 {
     _strings = strings;
     _buildMessenger = buildMessenger;
     _configController = configController;
     _builderFactory = builderFactory;
 }
Example #3
0
        public BuildViewModel(BuildMessenger buildMessenger, Action onCloseHandle)
        {
            _onCloseHandle = onCloseHandle;
            _outputMessage = new StringBuilder();

            buildMessenger.OnBuildProgress += (i) => { if (i == 0) _outputMessage = new StringBuilder(); };
            buildMessenger.OnBuildMessage += UpdateTextBox;
        }
Example #4
0
 public BuildController(BuildMessenger buildMessenger, IConfigController configController, Func<ICodeParser> codeParser, IExporter[] allExporters, SDBuildStrings sdBuildStrings)
 {
     BuildMessenger = buildMessenger;
     _configController = configController;
     _codeParser = codeParser;
     _allExporters = allExporters;
     _sdBuildStrings = sdBuildStrings;
 }
Example #5
0
 public BuildController(BuildMessenger buildMessenger, IConfigController configController, Func <ICodeParser> codeParser, IExporter[] allExporters, SDBuildStrings sdBuildStrings)
 {
     BuildMessenger    = buildMessenger;
     _configController = configController;
     _codeParser       = codeParser;
     _allExporters     = allExporters;
     _sdBuildStrings   = sdBuildStrings;
 }
Example #6
0
        public BuildView(SDGuiStrings strings, BuildMessenger buildMessenger)
        {
            Strings = strings;

            DataContext = new BuildViewModel(buildMessenger, Hide);
            InitializeComponent();

            MouseLeftButtonDown += OnMouseDown;
            MouseLeftButtonUp += OnMouseUp;
        }