public ClientValidationsEndpoint( IStringResponseWritter stringResponseWritter, IJavascriptSourcePerformer javascriptSourcePerformer, IHttpRequestProcessor <IHttpEndpoint <string> > httpRequestProcessor, IGetHttpMethod getHttpMethod) { HttpRequestDescriptor = new GenericRequestDescriptor { HttpMethod = getHttpMethod, RouteDescription = "assets/javascript/service-validation.js" }; HttpRequestProcessor = httpRequestProcessor; Performer = javascriptSourcePerformer; ResponseWritter = stringResponseWritter; }
public ServiceEndpointBootstrapper(IJsonResponseWritter <TResponse> jsonResponseWritter, IGetHttpMethod getHttpMethod) { _jsonResponseWritter = jsonResponseWritter; _getHttpMethod = getHttpMethod; }