public static ITypedBuilder WithContent <TContent>(this ITypedBuilder builder, Func <TContent> contentFactory, Encoding encoding) { return(builder.WithContent(contentFactory, encoding, null)); }
public static ITypedBuilder WithContent <TContent>(this ITypedBuilder builder, TContent content, Encoding encoding) { return(builder.WithContent(content, encoding, null)); }
public static ITypedBuilder WithContent <TContent>(this ITypedBuilder builder, TContent content, Encoding encoding, string mediaType) { return(builder.WithContent(() => content, encoding, mediaType)); }
public static ITypedBuilder WithContent <TContent>(this ITypedBuilder builder, TContent content) { return(builder.WithContent(content, null, null)); }