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

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

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

            SendLifeCycleEvent(Lifecycle.Start);
        }