Exemple #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;
 }
Exemple #2
0
 public TemplateFactoryBuilder SetClientTemplateFactory(IClientTemplateFactory clientTemplateFactory)
 {
     _clientTemplateFactory = clientTemplateFactory;
     return(this);
 }