Esempio n. 1
0
 public TemplatesFactory(
     IClientTemplateFactory clientTemplateFactory,
     IEndpointTemplateFactory endpointTemplateFactory,
     IParameterTemplateFactory parameterTemplateFactory,
     IRequestTemplateFactory requestTemplateFactory,
     IResponseTemplateFactory responseTemplateFactory,
     IClassSchemaTemplateFactory schemaTemplateFactory
     )
 {
     _clientTemplateFactory    = clientTemplateFactory;
     _endpointTemplateFactory  = endpointTemplateFactory;
     _parameterTemplateFactory = parameterTemplateFactory;
     _requestTemplateFactory   = requestTemplateFactory;
     _responseTemplateFactory  = responseTemplateFactory;
     _schemaTemplateFactory    = schemaTemplateFactory;
 }
Esempio n. 2
0
 public TemplateFactoryBuilder SetResponseTemplateFactory(IResponseTemplateFactory responseTemplateFactory)
 {
     _responseTemplateFactory = responseTemplateFactory;
     return(this);
 }