private async Task Configure() { Container = await MainComponentRegistrar.BuildContainerAsync(); Settings = Container.Resolve <AppSettings>(); Container.Resolve <StateMachine.StateMachine>().Start(); }
protected override async void OnStart() { Container = await MainComponentRegistrar.BuildContainerAsync(); Settings = Container.Resolve <AppSettings>(); Container.Resolve <StateMachine.StateMachineController>().Start(); SendLifeCycleEvent(Lifecycle.Start); }