Ejemplo n.º 1
0
 internal static IHttpRequestMessageConfigurator Address(this IHttpRequestMessageConfigurator self, string format, params object[] args)
 {
     return(self.Address(format.FormatWith(args)));
 }
Ejemplo n.º 2
0
 internal static IHttpRequestMessageConfigurator Content(this IHttpRequestMessageConfigurator self, object value, MediaTypeFormatter formatter)
 {
     return(self.Content(new ObjectContent(value.GetType(), value, formatter)));
 }