public TransactionService(IEnumerable <IContextStorageFactory> factories, ITimerFactory timerFactory, ICallStackManagerFactory callStackManagerFactory, IDatabaseService databaseService, ITracePriorityManager tracePriorityManager, IDatabaseStatementParser databaseStatementParser, IErrorService errorService, IDistributedTracePayloadHandler distributedTracePayloadHandler, IAttributeDefinitionService attribDefSvc) { _sortedPrimaryContexts = GetPrimaryTransactionContexts(factories); _asyncContext = GetAsyncTransactionContext(factories); _timerFactory = timerFactory; _callStackManagerFactory = callStackManagerFactory; _databaseService = databaseService; _tracePriorityManager = tracePriorityManager; _databaseStatementParser = databaseStatementParser; _errorService = errorService; _distributedTracePayloadHandler = distributedTracePayloadHandler; _attribDefSvc = attribDefSvc; }
public AgentApiImplementation(ITransactionService transactionService, ICustomEventTransformer customEventTransformer, IMetricBuilder metricBuilder, IMetricAggregator metricAggregator, ICustomErrorDataTransformer customErrorDataTransformer, IBrowserMonitoringPrereqChecker browserMonitoringPrereqChecker, IBrowserMonitoringScriptMaker browserMonitoringScriptMaker, IConfigurationService configurationService, IAgent agent, ITracePriorityManager tracePriorityManager, IApiSupportabilityMetricCounters apiSupportabilityMetricCounters, IErrorService errorService) { _transactionService = transactionService; _customEventTransformer = customEventTransformer; _metricBuilder = metricBuilder; _metricAggregator = metricAggregator; _customErrorDataTransformer = customErrorDataTransformer; _browserMonitoringPrereqChecker = browserMonitoringPrereqChecker; _browserMonitoringScriptMaker = browserMonitoringScriptMaker; _configurationService = configurationService; _agent = agent; _agentBridgeApi = new AgentBridgeApi(_agent, apiSupportabilityMetricCounters, _configurationService); _tracePriorityManager = tracePriorityManager; _errorService = errorService; }