Skip to content

Commit cf00212

Browse files
committed
挖了个依赖注入的坑,慢慢做咯
1 parent e3b1c9a commit cf00212

File tree

4 files changed

+20
-2
lines changed

4 files changed

+20
-2
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@ PlanaBot.sln.DotSettings.user
77
/NapPlana.Net.Example/bin/
88
/NapPlana.Net.Example/obj/
99
/NapPlana.Net.Example/appsettings.json
10-
/api-doc/html/
10+
/api-doc/html/
11+
/NapPlana.Net.DI/bin/
12+
/NapPlana.Net.DI/obj/
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
namespace NapPlana.DI.Connection;
2+
3+
public class OnWebsocketMessageReceived
4+
{
5+
6+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net9.0</TargetFramework>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
<RootNamespace>NapPlana.DI</RootNamespace>
8+
</PropertyGroup>
9+
10+
</Project>

NapPlana.Net.Core/NapPlana.Net.Core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<PackageIcon>nap_plana.jpeg</PackageIcon>
1919
<Copyright>CopyRight © 2025 stevesensei All Rights.</Copyright>
2020
<PackageReadmeFile>readme_nuget.md</PackageReadmeFile>
21-
<TargetFrameworks>net9.0;net10.0</TargetFrameworks>
21+
<TargetFramework>net9.0</TargetFramework>
2222
</PropertyGroup>
2323

2424
<ItemGroup>

0 commit comments

Comments
 (0)