File tree Expand file tree Collapse file tree 4 files changed +18
-1
lines changed
Microsoft.ComponentDetection.Orchestrator
Microsoft.ComponentDetection Expand file tree Collapse file tree 4 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 1313 <PackageVersion Include =" Docker.DotNet" Version =" 3.125.12" />
1414 <PackageVersion Include =" FluentAssertions" Version =" 6.8.0" />
1515 <PackageVersion Include =" Microsoft.AspNet.WebApi.Client" Version =" 5.2.9" />
16- <PackageVersion Include =" Microsoft.Extensions.Caching.Memory" Version =" 7.0.0" />
16+ <PackageVersion Include =" Microsoft.Extensions.Caching.Memory" Version =" 7.0.0" />
17+ <PackageVersion Include =" Microsoft.Extensions.DependencyInjection" Version =" 7.0.0" />
18+ <PackageVersion Include =" Microsoft.Extensions.DependencyInjection.Abstractions" Version =" 7.0.0" />
1719 <PackageVersion Include =" Microsoft.NET.Test.Sdk" Version =" 17.4.1" />
1820 <PackageVersion Include =" Microsoft.SourceLink.GitHub" Version =" 1.1.1" />
1921 <PackageVersion Include =" Microsoft.VisualStudio.Threading.Analyzers" Version =" 17.4.33" />
Original file line number Diff line number Diff line change 1+ namespace Microsoft . ComponentDetection . Orchestrator . Extensions ;
2+
3+ using Microsoft . Extensions . DependencyInjection ;
4+
5+ internal static class ServiceCollectionExtensions
6+ {
7+ /// <summary>
8+ /// Register Component Detection services.
9+ /// </summary>
10+ /// <param name="services">The <see cref="IServiceCollection" /> to register the services with.</param>
11+ /// <returns>The <see cref="IServiceCollection" /> so that additional calls can be chained.</returns>
12+ public static IServiceCollection AddComponentDetection ( this IServiceCollection services ) => services ;
13+ }
Original file line number Diff line number Diff line change 33 <ItemGroup >
44 <PackageReference Include =" CommandLineParser" />
55 <PackageReference Include =" DotNet.Glob" />
6+ <PackageReference Include =" Microsoft.Extensions.DependencyInjection.Abstractions" />
67 <PackageReference Include =" Newtonsoft.Json" />
78 <PackageReference Include =" Polly" />
89 <PackageReference Include =" System.Runtime.Loader" />
Original file line number Diff line number Diff line change 77 </PropertyGroup >
88
99 <ItemGroup >
10+ <PackageReference Include =" Microsoft.Extensions.DependencyInjection" />
1011 <PackageReference Include =" System.Threading.Tasks.Dataflow" />
1112 </ItemGroup >
1213
You can’t perform that action at this time.
0 commit comments