/// <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);
 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;
 }
Esempio n. 3
0
 public BackendExtractor(
     ILogger <BackendExtractor> logger,
     ITemplateBuilder templateBuilder,
     IPolicyExtractor policyExtractor,
     IBackendClient backendClient)
 {
     this.logger          = logger;
     this.templateBuilder = templateBuilder;
     this.policyExtractor = policyExtractor;
     this.backendClient   = backendClient;
 }
        public NamedValuesExtractor(
            ILogger <NamedValuesExtractor> logger,
            ITemplateBuilder templateBuilder,
            INamedValuesClient namedValuesClient,
            IPolicyExtractor policyExtractor,
            IBackendExtractor backendExtractor)
        {
            this.logger          = logger;
            this.templateBuilder = templateBuilder;

            this.namedValuesClient = namedValuesClient;
            this.backendExtractor  = backendExtractor;
            this.policyExtractor   = policyExtractor;
        }
Esempio n. 5
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 ProductExtractor(
            ILogger <ProductExtractor> logger,
            IPolicyExtractor policyExtractor,
            IProductsClient productsClient,
            IGroupsClient groupsClient,
            ITagClient tagClient,
            ITemplateBuilder templateBuilder)
        {
            this.logger          = logger;
            this.templateBuilder = templateBuilder;

            this.productsClient = productsClient;
            this.groupsClient   = groupsClient;
            this.tagClient      = tagClient;

            this.policyExtractor = policyExtractor;
            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;
        }