Пример #1
0
 public ErrorHandlerItem(
     string titleKey,
     string contentKey,
     ICustomErrorHandler customErrorHandler)
     : this(titleKey, contentKey)
 {
     this.CustomErrorHandler = (Ekreta.Mobile.Core.Helpers.ErrorHandlers.CustomErrorHandler <T>)customErrorHandler;
 }
Пример #2
0
 private void AddErrorHandler <T>(ICustomErrorHandler customErrorHandler) where T : Exception
 {
     this._errorHandlerItems.Add((IErrorHandlerItem) new ErrorHandlerItem <T>(string.Empty, string.Empty, customErrorHandler));
 }