public ServiceDocumentationProcessor( ITypeParser <ServiceDescription> typeParser, IDocumentationWriter <ServiceDescription> documentationWriter) { this.m_TypeParser = typeParser; this.m_DocumentationWriter = documentationWriter; this.m_ContractDocumentationProcesor = new ContractDocumentationProcessor(new ContractTypeParser(), new ContractDocumentationWriter()); }
public DocumentionBuilder() { m_documentationProcessor = new ServiceDocumentationProcessor( new ServiceTypeParser( new List <IDocumentTypeAsServiceQuestion> { new ApiControllerDocumentTypeAsServiceQuestion(), new ControllerDocumentTypeAsServiceQuestion(), new ServiceContractDocumentTypeAsServiceQuestion() }, new List <IDocumentMethodQuestion> { new ControllerDocumentMethodQuestion(), new OperationContractDocumentMethodQuestion() }, new MethodDependencyFinder( new List <IDocumentMethodDependencyQuestion> { new DefaultDocumentMethodDependencyQuestion() }), new FormatorFactory()), new ServiceDocumentationWriter()); }
public DocumentionBuilder() { m_documentationProcessor = new ServiceDocumentationProcessor(new ServiceTypeParser(), new ServiceDocumentationWriter()); }