Skip to content

Commit 4ff0e81

Browse files
committed
improve proj + upgrade DI
1 parent cecb42c commit 4ff0e81

15 files changed

+1339
-328
lines changed

.gitignore

Lines changed: 398 additions & 3 deletions
Large diffs are not rendered by default.

.vscode/launch.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": ".NET Core Launch (console)",
9+
"type": "coreclr",
10+
"request": "launch",
11+
"preLaunchTask": "build",
12+
"program": "${workspaceFolder}/bin/Debug/net6.0/CSharpLibraries.dll",
13+
"args": [],
14+
"cwd": "${workspaceFolder}",
15+
"console": "internalConsole",
16+
"stopAtEntry": false
17+
},
18+
{
19+
"name": ".NET Core Attach",
20+
"type": "coreclr",
21+
"request": "attach"
22+
}
23+
]
24+
}

.vscode/tasks.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "build",
6+
"command": "dotnet",
7+
"type": "process",
8+
"args": [
9+
"build",
10+
"${workspaceFolder}/CSharpLibraries.csproj",
11+
"/property:GenerateFullPaths=true",
12+
"/consoleloggerparameters:NoSummary"
13+
],
14+
"problemMatcher": "$msCompile"
15+
},
16+
{
17+
"label": "publish",
18+
"command": "dotnet",
19+
"type": "process",
20+
"args": [
21+
"publish",
22+
"${workspaceFolder}/CSharpLibraries.csproj",
23+
"/property:GenerateFullPaths=true",
24+
"/consoleloggerparameters:NoSummary"
25+
],
26+
"problemMatcher": "$msCompile"
27+
},
28+
{
29+
"label": "watch",
30+
"command": "dotnet",
31+
"type": "process",
32+
"args": [
33+
"watch",
34+
"run",
35+
"--project",
36+
"${workspaceFolder}/CSharpLibraries.csproj"
37+
],
38+
"problemMatcher": "$msCompile"
39+
}
40+
]
41+
}

CSharpLibraries.sln

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.2.32526.322
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests", "Tests\Tests.csproj", "{C87B3472-34A3-4400-968A-5FDEB79DD567}"
7+
EndProject
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Library", "Library\Library.csproj", "{62893D04-89CE-4421-8306-DABBC144297B}"
9+
EndProject
10+
Global
11+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
12+
Debug|Any CPU = Debug|Any CPU
13+
Release|Any CPU = Release|Any CPU
14+
EndGlobalSection
15+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
16+
{C87B3472-34A3-4400-968A-5FDEB79DD567}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
17+
{C87B3472-34A3-4400-968A-5FDEB79DD567}.Debug|Any CPU.Build.0 = Debug|Any CPU
18+
{C87B3472-34A3-4400-968A-5FDEB79DD567}.Release|Any CPU.ActiveCfg = Release|Any CPU
19+
{C87B3472-34A3-4400-968A-5FDEB79DD567}.Release|Any CPU.Build.0 = Release|Any CPU
20+
{62893D04-89CE-4421-8306-DABBC144297B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21+
{62893D04-89CE-4421-8306-DABBC144297B}.Debug|Any CPU.Build.0 = Debug|Any CPU
22+
{62893D04-89CE-4421-8306-DABBC144297B}.Release|Any CPU.ActiveCfg = Release|Any CPU
23+
{62893D04-89CE-4421-8306-DABBC144297B}.Release|Any CPU.Build.0 = Release|Any CPU
24+
EndGlobalSection
25+
GlobalSection(SolutionProperties) = preSolution
26+
HideSolutionNode = FALSE
27+
EndGlobalSection
28+
GlobalSection(ExtensibilityGlobals) = postSolution
29+
SolutionGuid = {779F7C5A-CD40-4FC0-B92B-AE0E56E139B8}
30+
EndGlobalSection
31+
EndGlobal

DependencyInjector/DependencyInjector.cs

Lines changed: 0 additions & 137 deletions
This file was deleted.

ExampleClassA.cs

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)