コード例 #1
0
 public TreeService(IWebHostEnvironment environment, GitHubTreeProvider gitHubTreeProvider, AzureDevOpsTreeProvider azureTreeProvider, ILogger <TreeService> logger)
 {
     _environment        = environment;
     _githubTreeProvider = gitHubTreeProvider;
     _azureTreeProvider  = azureTreeProvider;
     _logger             = logger;
 }
コード例 #2
0
ファイル: TreeService.cs プロジェクト: stap123/themesof.net
 public TreeService(IWebHostEnvironment environment, GitHubTreeProvider gitHubTreeProvider, AzureDevOpsTreeProvider azureTreeProvider, ILogger <TreeService> logger)
 {
     _environment   = environment;
     _treeProviders = new TreeProvider[] { gitHubTreeProvider, azureTreeProvider };
     _logger        = logger;
 }