public BuildController(SDBuildStrings sdBuildStrings, IConfigController configController, IBuildMessenger buildMessenger, IExporter[] allExporters)
 {
     _configController = configController;
     _sdBuildStrings = sdBuildStrings;
     _buildMessenger = (BuildMessenger)buildMessenger;
     _allExporters = allExporters;
 }
        public VisibilitySettings(SDGuiStrings strings, ICoreConfigSection sharpdoxConfig, IBuildController buildController, IBuildMessenger buildMessenger)
        {
            Strings = strings;

            DataContext = new VisibilityViewModel(sharpdoxConfig, buildController, buildMessenger);
            InitializeComponent();
        }
Exemple #3
0
 public Main(SDConsoleStrings strings, IConfigController configController, IBuildMessenger buildMessenger, Func<IBuildController> builderFactory)
 {
     _strings = strings;
     _buildMessenger = buildMessenger;
     _configController = configController;
     _builderFactory = builderFactory;
 }
Exemple #4
0
 public Main(SDConsoleStrings strings, IConfigController configController, IBuildMessenger buildMessenger, Func <IBuildController> builderFactory)
 {
     _strings          = strings;
     _buildMessenger   = buildMessenger;
     _configController = configController;
     _builderFactory   = builderFactory;
 }
        public BuildController(SDBuildStrings sdBuildStrings, IConfigController configController, IExporter[] allExporters, IBuildMessenger buildMessenger)
        {
            _configController = configController;
            _sdBuildStrings   = sdBuildStrings;
            _allExporters     = allExporters;

            BuildMessenger = buildMessenger;
        }
        public VisibilityViewModel(SharpDoxConfig sharpDoxConfig, IBuildController buildController, IBuildMessenger buildMessenger)
        {
            _sharpDoxConfig = sharpDoxConfig;
            _buildController = buildController;

            sharpDoxConfig.PropertyChanged += ConfigChanged;
            buildMessenger.OnParseCompleted += ParseCompleted;
        }
Exemple #7
0
        public BuildView(SDGuiStrings strings, IBuildMessenger buildMessenger)
        {
            Strings = strings;

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

            MouseLeftButtonDown += (s, a) => DragMove();
        }
        public BuildViewModel(IBuildMessenger buildMessenger, Action onCloseHandle)
        {
            _onCloseHandle = onCloseHandle;
            _outputMessage = new StringBuilder();

            buildMessenger.OnBuildProgress += (i) => { if (i == 0)
                                                       {
                                                           _outputMessage = new StringBuilder();
                                                       }
            };
            buildMessenger.OnBuildMessage += UpdateTextBox;
        }
        public BuildWindow(SDGuiStrings strings, SharpDoxConfig sharpDoxConfig, IBuildController buildController, IBuildMessenger buildMessenger)
        {
            Strings = strings;

            _sharpDoxConfig = sharpDoxConfig;
            _buildController = buildController;
            _buildMessenger = buildMessenger;
            _buildMessenger.OnBuildMessage += BuilderOnMessage;
            _buildMessenger.OnStepMessage += BuilderOnStepMessage;
            _buildMessenger.OnBuildStopped += BuilderOnStopped;
            _buildMessenger.OnBuildProgress += BuilderOnBuildProgress;
            _buildMessenger.OnStepProgress += BuilderOnStepProgress;

            InitializeComponent();
        }
Exemple #10
0
        public BuildWindow(SDGuiStrings strings, ICoreConfigSection sharpDoxConfig, IBuildController buildController, IBuildMessenger buildMessenger)
        {
            Strings = strings;

            _sharpDoxConfig  = sharpDoxConfig;
            _buildController = buildController;
            _buildMessenger  = buildMessenger;
            _buildMessenger.OnBuildMessage  += BuilderOnMessage;
            _buildMessenger.OnStepMessage   += BuilderOnStepMessage;
            _buildMessenger.OnBuildStopped  += BuilderOnStopped;
            _buildMessenger.OnBuildProgress += BuilderOnBuildProgress;
            _buildMessenger.OnStepProgress  += BuilderOnStepProgress;

            InitializeComponent();
        }
        public VisibilitySettings(SDGuiStrings strings, ICoreConfigSection sharpdoxConfig, IBuildController buildController, IBuildMessenger buildMessenger)
        {
            Strings = strings;

            DataContext = new VisibilityViewModel(sharpdoxConfig, buildController, buildMessenger);
            InitializeComponent();
        }