示例#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
 public virtual T StaticBody <T>(string overrideContentType = null) => _decoder.DecodeToStatic <T>(RawText, overrideContentType ?? ContentType);