private void InitaliseErrorSystem()
 {
     var errorHub = new ErrorApplicationObject();
     Mvx.RegisterSingleton<IErrorReporter>(errorHub);
     Mvx.RegisterSingleton<IErrorSource>(errorHub);
 }
Esempio n. 2
0
 private void InitaliseErrorSystem()
 {
     var errorHub = new ErrorApplicationObject();
     this.RegisterServiceInstance<IErrorReporter>(errorHub);
     this.RegisterServiceInstance<IErrorSource>(errorHub);
 }