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