Esempio n. 1
0
        public CodeBoxViewModel(IUnityContainer container, AbstractWorkspace workspace)
        {
            _workspace = workspace;
            _container = container;
            Name       = "CodeBox";

            IsVisible = false;

            _model = new CodeBoxModel();

            _view             = new CodeBoxView();
            _view.DataContext = _model;

            _aggregator = _container.Resolve <IEventAggregator>();
        }
Esempio n. 2
0
        public CodeBoxViewModel(IUnityContainer container, AbstractWorkspace workspace)
        {
            _workspace = workspace;
            _container = container;
            Name = "CodeBox";

            IsVisible = false;

            _model = new CodeBoxModel();

            _view = new CodeBoxView();
            _view.DataContext = _model;

            _aggregator = _container.Resolve<IEventAggregator>();
        }