Exemple #1
0
 public EndpointCoverageReportBuilder(
     IEndpointCollector endpointCollector,
     IEndpointExplorer endpointExplorer)
 {
     this.endpointCollector = endpointCollector;
     this.endpointExplorer  = endpointExplorer;
 }
        public ConfiguredServiceHost(ITypedHostFactory factory, IModuleLogger parentLogger,
                                     IEndpointCollector endpointCollector, PortConfig portConfig)
        {
            _factory    = factory;
            _collector  = endpointCollector;
            _portConfig = portConfig;

            if (parentLogger != null)
            {
                _logger = parentLogger.GetChild("WcfHosting", GetType());
            }
        }
Exemple #3
0
        public static EndpointCoverageReportBuilder Create(BrowserAdapterConfig config, IEndpointCollector endpointCollector)
        {
            if (config.MeasureEndpointCoverage == false)
            {
                return(null);
            }
            var endpointExplorer = EndpointExplorerFactory.Create(config);

            return(new EndpointCoverageReportBuilder(endpointCollector, endpointExplorer));
        }