Example #1
0
        public AbstractApp()
        {
            mTypeEventSystem.Clear();

            // 注册好 自己的实例
            Container.RegisterInstance(Container);

            // 配置命令的执行
            mTypeEventSystem.RegisterEvent <TCommand>(OnCommandExecute);

            ConfigureService(Container);
        }