Beispiel #1
0
        public static ExecManager GetInstance()
        {
            if (_instance == null)
            {
                _instance = new ExecManager();
            }

            return(_instance);
        }
Beispiel #2
0
        public MainViewViewModel(Dispatcher uiDispacher)
        {
            _uiDispatcher = uiDispacher;
            _messages     = new ObservableCollection <ExecMessageViewModel>();

            MessageDispatcher.GetInstance().MessageReceived += addMessage;

            ExecManager.GetInstance();
        }