public ExtractorExecutor(
     ILogger <ExtractorExecutor> logger,
     IApisClient apisClient,
     IApiExtractor apiExtractor,
     IApiVersionSetExtractor apiVersionSetExtractor,
     IAuthorizationServerExtractor authorizationServerExtractor,
     IBackendExtractor backendExtractor,
     ILoggerExtractor loggerExtractor,
     IMasterTemplateExtractor masterTemplateExtractor,
     IPolicyExtractor policyExtractor,
     IProductApisExtractor productApisExtractor,
     IProductExtractor productExtractor,
     IPropertyExtractor propertyExtractor,
     ITagApiExtractor apiTagExtractor,
     ITagExtractor tagExtractor,
     IGroupExtractor groupExtractor,
     IApiRevisionExtractor apiRevisionExtractor)
 {
     this.logger                       = logger;
     this.apisClient                   = apisClient;
     this.apiExtractor                 = apiExtractor;
     this.apiVersionSetExtractor       = apiVersionSetExtractor;
     this.authorizationServerExtractor = authorizationServerExtractor;
     this.backendExtractor             = backendExtractor;
     this.loggerExtractor              = loggerExtractor;
     this.masterTemplateExtractor      = masterTemplateExtractor;
     this.policyExtractor              = policyExtractor;
     this.productApisExtractor         = productApisExtractor;
     this.propertyExtractor            = propertyExtractor;
     this.productExtractor             = productExtractor;
     this.apiTagExtractor              = apiTagExtractor;
     this.tagExtractor                 = tagExtractor;
     this.groupExtractor               = groupExtractor;
     this.apiRevisionExtractor         = apiRevisionExtractor;
 }
 /// <summary>
 /// Allows to build ExtractorExecutor with only desired speficic extractors passed
 /// </summary>
 /// <returns>new ExtractorExecutor instance</returns>
 public static ExtractorExecutor BuildExtractorExecutor(
     ILogger <ExtractorExecutor> logger,
     IApisClient apisClient     = null,
     IApiExtractor apiExtractor = null,
     IApiVersionSetExtractor apiVersionSetExtractor             = null,
     IAuthorizationServerExtractor authorizationServerExtractor = null,
     IBackendExtractor backendExtractor = null,
     ILoggerExtractor loggerExtractor   = null,
     IMasterTemplateExtractor masterTemplateExtractor = null,
     IPolicyExtractor policyExtractor           = null,
     IProductApisExtractor productApisExtractor = null,
     IProductExtractor productExtractor         = null,
     IPropertyExtractor propertyExtractor       = null,
     ITagApiExtractor apiTagExtractor           = null,
     ITagExtractor tagExtractor                 = null,
     IGroupExtractor groupExtractor             = null,
     IApiRevisionExtractor apiRevisionExtractor = null)
 => new ExtractorExecutor(
     logger,
     apisClient,
     apiExtractor,
     apiVersionSetExtractor,
     authorizationServerExtractor,
     backendExtractor,
     loggerExtractor,
     masterTemplateExtractor,
     policyExtractor,
     productApisExtractor,
     productExtractor,
     propertyExtractor,
     apiTagExtractor,
     tagExtractor,
     groupExtractor,
     apiRevisionExtractor);
Пример #3
0
 public MasterTemplateExtractor(
     ILogger <ApiExtractor> logger,
     ITemplateBuilder templateBuilder,
     IApisClient apisClient,
     IDiagnosticExtractor diagnosticExtractor,
     IApiSchemaExtractor apiSchemaExtractor,
     IPolicyExtractor policyExtractor,
     IProductApisExtractor productApisExtractor,
     ITagExtractor tagExtractor,
     IApiOperationExtractor apiOperationExtractor)
     : base(logger, templateBuilder, apisClient, diagnosticExtractor, apiSchemaExtractor, policyExtractor, productApisExtractor, tagExtractor, apiOperationExtractor)
 {
     this.templateBuilder = templateBuilder;
 }
        public ApiExtractor(
            ILogger <ApiExtractor> logger,
            ITemplateBuilder templateBuilder,
            IApisClient apisClient,
            IDiagnosticExtractor diagnosticExtractor,
            IApiSchemaExtractor apiSchemaExtractor,
            IPolicyExtractor policyExtractor,
            IProductApisExtractor productApisExtractor,
            ITagExtractor tagExtractor,
            IApiOperationExtractor apiOperationExtractor)
        {
            this.logger          = logger;
            this.templateBuilder = templateBuilder;

            this.apisClient = apisClient;

            this.diagnosticExtractor   = diagnosticExtractor;
            this.apiSchemaExtractor    = apiSchemaExtractor;
            this.policyExtractor       = policyExtractor;
            this.productApisExtractor  = productApisExtractor;
            this.tagExtractor          = tagExtractor;
            this.apiOperationExtractor = apiOperationExtractor;
        }