示例#1
0
        /// <summary>
        /// </summary>
        protected sealed override void OnStart()
        {
            var controllerTypes = new List <ControllerType>()
            {
                new ControllerTypeDefault(), new ControllerTypeAdmin()
            };

            controllerTypes.OfType <IComponentStartable>().ForEach(x => x.Start(AppCore));
            controllerTypes.ForEach(x => ControllerTypeFactory.Add(x));
        }