Esempio n. 1
0
 public static void RegisterExceptionConvertor <T>(IExceptionConvertor <T> exceptionConvertor)
     where T : IException
 {
     exceptionConvertors.Add(new ExceptionConvertor <T>(exceptionConvertor));
 }
Esempio n. 2
0
 public ExceptionConvertor(IExceptionConvertor <T> converter)
 {
     this.converter = converter;
 }