コード例 #1
0
        public SuperDumpRepository(
            IOptions <SuperDumpSettings> settings,
            BundleRepository bundleRepo,
            DumpRepository dumpRepo,
            AnalysisService analysisService,
            DownloadService downloadService,
            SymStoreService symStoreService,
            UnpackService unpackService,
            PathHelper pathHelper,
            IdenticalDumpRepository identicalRepository,
            IOneAgentSdk dynatraceSdk)
        {
            this.settings            = settings;
            this.bundleRepo          = bundleRepo;
            this.dumpRepo            = dumpRepo;
            this.analysisService     = analysisService;
            this.downloadService     = downloadService;
            this.symStoreService     = symStoreService;
            this.unpackService       = unpackService;
            this.pathHelper          = pathHelper;
            this.identicalRepository = identicalRepository;
            pathHelper.PrepareDirectories();

            this.dynatraceSdk   = dynatraceSdk;
            messagingSystemInfo = dynatraceSdk.CreateMessagingSystemInfo("Hangfire", "download", MessageDestinationType.QUEUE, ChannelType.IN_PROCESS, null);
        }
コード例 #2
0
 public JiraIssueRepository(IOptions <SuperDumpSettings> settings,
                            IJiraApiService apiService,
                            BundleRepository bundleRepo,
                            IJiraIssueStorage jiraIssueStorage,
                            IdenticalDumpRepository identicalDumpRepository,
                            ILoggerFactory loggerFactory)
 {
     this.apiService              = apiService;
     this.bundleRepo              = bundleRepo;
     this.jiraIssueStorage        = jiraIssueStorage;
     this.identicalDumpRepository = identicalDumpRepository;
     this.settings = settings.Value.JiraIntegrationSettings;
     logger        = loggerFactory.CreateLogger <JiraIssueRepository>();
 }