public SampleAddEditInstrumentView(IUnityContainer container, Ace2ApiServiceModule api, ILoggerFacade log, 
            UiModel model, IEventAggregator eventAggregator)
        {
            InitializeComponent();

            _vm = new SampleAddEditInstrumentViewModel(container, api, log, model, eventAggregator);
            this.DataContext = _vm;
        }
Пример #2
0
        public SampleAddEditInstrumentView(IUnityContainer container, Ace2ApiServiceModule api, ILoggerFacade log,
                                           UiModel model, IEventAggregator eventAggregator)
        {
            InitializeComponent();

            _vm = new SampleAddEditInstrumentViewModel(container, api, log, model, eventAggregator);
            this.DataContext = _vm;
        }