Skip to content

Commit c2ffd7d

Browse files
target-typed new
1 parent 196fc65 commit c2ffd7d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

2_Libs/DependencyInjectionAndConfiguration/DI/DIWithConfiguration/Program.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
var builder = new HostApplicationBuilder(args);
1+
HostApplicationBuilder builder = new(args);
22
builder.Services.AddGreetingService(builder.Configuration.GetSection("GreetingService"));
33
builder.Services.AddSingleton<IGreetingService, GreetingService>();
44
builder.Services.AddTransient<HomeController>();

2_Libs/DependencyInjectionAndConfiguration/DI/DependencyInjectionSamples.sln

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 16
4-
VisualStudioVersion = 16.0.30420.98
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.5.33402.96
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WithDIContainer", "WithDIContainer\WithDIContainer.csproj", "{F293B0B8-DA43-4F2C-AF02-BA8DEAADEA02}"
77
EndProject

0 commit comments

Comments
 (0)