コード例 #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));
 }