Пример #1
0
 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());
 }
Пример #2
0
 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());
 }
Пример #3
0
 public DocumentionBuilder()
 {
     m_documentationProcessor = new ServiceDocumentationProcessor(new ServiceTypeParser(), new ServiceDocumentationWriter());
 }