Exemple #1
0
        private async Task Configure()
        {
            Container = await MainComponentRegistrar.BuildContainerAsync();

            Settings = Container.Resolve <AppSettings>();
            Container.Resolve <StateMachine.StateMachine>().Start();
        }
Exemple #2
0
        protected override async void OnStart()
        {
            Container = await MainComponentRegistrar.BuildContainerAsync();

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

            SendLifeCycleEvent(Lifecycle.Start);
        }