protected override void Configure() { container = new SimpleInjectionContainer(); RegisterServices(); container .Singleton <IEventAggregator, EventAggregator>() .Singleton <Application>(); }
protected override void Configure() { winContainer = new WinRTContainer(); container = new SimpleInjectionContainer(winContainer); winContainer.RegisterWinRTServices(); container. Singleton <Application>(); RegisterServices().ContinueWith(result => { Coroutine.Completed += (s, e) => { if (e.Error == null) { return; } Debug.Write(e.Error.Message); }; }); }