Beispiel #1
0
 /// <summary>
 /// Initializes the singleton instance of the class
 /// </summary>
 static Context()
 {
     AppQuit                 = false;
     AppWindowPosition       = Windows.WindowPosition.TopRight;
     _actuatorManager        = ActuatorManager.Instance;
     _agentManager           = AgentManager.Instance;
     _panelManager           = PanelManager.Instance;
     _ttsManager             = TTSManager.Instance;
     _automationEventManager = AutomationEventManager.Instance;
     _wordPredictionManager  = WordPredictionManager.Instance;
     _spellCheckManager      = SpellCheckManager.Instance;
     _themeManager           = ThemeManager.Instance;
 }
Beispiel #2
0
        /// <summary>
        /// Initializes the singleton instance of the class
        /// </summary>
        static Context()
        {
            AppQuit           = false;
            AppWindowPosition = Windows.WindowPosition.MiddleRight;

            //Initialize all the manager singleton objects
            _actuatorManager        = ActuatorManager.Instance;
            _agentManager           = AgentManager.Instance;
            _panelManager           = PanelManager.Instance;
            _ttsManager             = TTSManager.Instance;
            _automationEventManager = AutomationEventManager.Instance;
            _wordPredictionManager  = WordPredictionManager.Instance;
            _spellCheckManager      = SpellCheckManager.Instance;
            _themeManager           = ThemeManager.Instance;
        }