Esempio n. 1
0
 public TreeService(IWebHostEnvironment environment, GitHubTreeProvider gitHubTreeProvider, AzureDevOpsTreeProvider azureTreeProvider, ILogger <TreeService> logger)
 {
     _environment        = environment;
     _githubTreeProvider = gitHubTreeProvider;
     _azureTreeProvider  = azureTreeProvider;
     _logger             = logger;
 }
Esempio n. 2
0
 public TreeService(IWebHostEnvironment environment, GitHubTreeProvider gitHubTreeProvider, AzureDevOpsTreeProvider azureTreeProvider, ILogger <TreeService> logger)
 {
     _environment   = environment;
     _treeProviders = new TreeProvider[] { gitHubTreeProvider, azureTreeProvider };
     _logger        = logger;
 }