Ejemplo n.º 1
0
 public T StaticBody <T>(string overrideContentType = null)
 {
     if (overrideContentType != null)
     {
         return(_decoder.DecodeToStatic <T>(RawText, overrideContentType));
     }
     return(_decoder.DecodeToStatic <T>(RawText, ContentType));
 }
Ejemplo n.º 2
0
 public virtual T StaticBody <T>(string overrideContentType = null) => _decoder.DecodeToStatic <T>(RawText, overrideContentType ?? ContentType);