Exemplo n.º 1
0
 public QuerystringBinder(RouteDescriptor routeDescriptor,
                          ArgumentBinder argumentBinder,
                          QuerystringParameters querystringParameters)
 {
     _argumentBinder        = argumentBinder;
     _routeDescriptor       = routeDescriptor;
     _querystringParameters = querystringParameters;
 }
Exemplo n.º 2
0
 public JsonBinder(RouteDescriptor routeDescriptor,
                   ArgumentBinder argumentBinder,
                   HttpRequestMessage requestMessage)
 {
     _argumentBinder  = argumentBinder;
     _routeDescriptor = routeDescriptor;
     _requestMessage  = requestMessage;
 }
Exemplo n.º 3
0
 public UrlParameterBinder(
     RouteDescriptor routeDescriptor,
     ArgumentBinder argumentBinder,
     UrlParameters urlParameters)
 {
     _argumentBinder  = argumentBinder;
     _routeDescriptor = routeDescriptor;
     _urlParameters   = urlParameters;
 }
Exemplo n.º 4
0
 public HeaderBinder(Configuration configuration,
                     RouteDescriptor routeDescriptor,
                     ArgumentBinder argumentBinder,
                     HttpRequestMessage requestMessage)
 {
     _argumentBinder  = argumentBinder;
     _routeDescriptor = routeDescriptor;
     _configuration   = configuration;
     _requestMessage  = requestMessage;
 }
Exemplo n.º 5
0
 public RequestPropertiesBinder(Configuration configuration,
                                RouteDescriptor routeDescriptor,
                                ArgumentBinder argumentBinder,
                                IRequestPropertiesProvider requestProperties)
 {
     _argumentBinder    = argumentBinder;
     _requestProperties = requestProperties;
     _routeDescriptor   = routeDescriptor;
     _configuration     = configuration;
 }
Exemplo n.º 6
0
 public MultipartFormBinder(HttpRequestMessage requestMessage,
                            ActionDescriptor actionDescriptor, IEnumerable <IRequestReader> readers,
                            ArgumentBinder argumentBinder, ParameterBinder <BindResult> parameterBinder,
                            Configuration configuration)
 {
     _requestMessage   = requestMessage;
     _actionDescriptor = actionDescriptor;
     _readers          = readers;
     _argumentBinder   = argumentBinder;
     _parameterBinder  = parameterBinder;
     _configuration    = configuration;
 }