public static ICodecDefinition AndTranscodedBy <TCodec>(this IHandlerForResourceWithUriDefinition handlerDef) { return(handlerDef.TranscodedBy(typeof(TCodec))); }
public static ICodecDefinition NewtonsoftJson( this IHandlerForResourceWithUriDefinition root, JsonSerializerSettings settings = null) { return(root.TranscodedBy <NewtonsoftJsonCodec>(settings)); }