示例#1
0
文件: App.xaml.cs 项目: rubit0/YoApp
        private async Task Configure()
        {
            Container = await MainComponentRegistrar.BuildContainerAsync();

            Settings = Container.Resolve <AppSettings>();
            Container.Resolve <StateMachine.StateMachine>().Start();
        }
示例#2
0
文件: App.xaml.cs 项目: llenroc/YoApp
        protected override async void OnStart()
        {
            Container = await MainComponentRegistrar.BuildContainerAsync();

            Settings = Container.Resolve <AppSettings>();
            Container.Resolve <StateMachine.StateMachineController>().Start();

            SendLifeCycleEvent(Lifecycle.Start);
        }