Пример #1
0
 private TileExceptionWithContext KeepHttpErrorCode(IHaveHttpErrorCode httpErrorCode)
 {
     if (httpErrorCode != null && httpErrorCode.HttpErrorCode.HasValue)
     {
         HttpErrorCode = httpErrorCode.HttpErrorCode;
     }
     return(this);
 }
Пример #2
0
 private TileExceptionWithContext KeepHttpErrorCode(IHaveHttpErrorCode httpErrorCode)
 {
     if (httpErrorCode != null && httpErrorCode.HttpErrorCode.HasValue)
         HttpErrorCode = httpErrorCode.HttpErrorCode;
     return this;
 }