示例#1
0
        public DefaultAppImp()
        {
            m_timerManager = CreateTimerManager();
            m_notificationCenter = CreateNotificationCenter();
            m_processor = CreateCommandProcessor();

            m_updatables = new UpdatableList(2);
            m_updatables.Add(m_timerManager);
            m_updatables.Add(UpdateBindings);
        }
示例#2
0
 protected virtual CommandProcessor CreateCommandProcessor()
 {
     CommandProcessor processor = new CommandProcessor();
     processor.CommandDelegate = this;
     return processor;
 }