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 ResolvedCallStackManagerFactory(IEnumerable <IContextStorageFactory> storageFactories)
 {
     _callStackManagerFactory = CreateFactory(storageFactories);
 }