コード例 #1
0
 public T StaticBody <T>(string overrideContentType = null)
 {
     if (overrideContentType != null)
     {
         return(_decoder.DecodeToStatic <T>(RawText, overrideContentType));
     }
     return(_decoder.DecodeToStatic <T>(RawText, ContentType));
 }
コード例 #2
0
ファイル: HttpResponse.cs プロジェクト: zyltntking/Lenneth
 public virtual T StaticBody <T>(string overrideContentType = null) => _decoder.DecodeToStatic <T>(RawText, overrideContentType ?? ContentType);