示例#1
0
文件: AppContext.cs 项目: jclown/test
 public T ThrowException <T>(AppExceptionType exceptionType) where T : notnull
 {
     ExceptionInfo = new AppException(exceptionType);
     return(default(T));
 }
示例#2
0
文件: AppContext.cs 项目: jclown/test
 public T ThrowException <T>(string errorMessage, AppExceptionType exceptionType) where T : notnull
 {
     ExceptionInfo = new AppException(errorMessage, exceptionType);
     return(default(T));
 }