Browse Source

更新Domain项目配置

feature/protocol-log-Perfect
root 1 week ago
parent
commit
c7ffb4a1b4
  1. 4
      CoreAgent.Domain/CoreAgent.Domain.csproj
  2. 13
      CoreAgent.Domain/Interfaces/CustomWSClient/ICustomMessageHandler.cs
  3. 13
      CoreAgent.Domain/Interfaces/CustomWSClient/IObserverCustomWebSocketClient.cs
  4. 13
      CoreAgent.Domain/Interfaces/ProtocolLogHandlers/IProtocolLogsProviderObserver.cs
  5. 15
      CoreAgent.Domain/Interfaces/ProtocolLogHandlers/IProtocollHandleLogs.cs
  6. 1
      CoreAgent.Infrastructure/CoreAgent.Infrastructure.csproj

4
CoreAgent.Domain/CoreAgent.Domain.csproj

@ -8,8 +8,11 @@
<ItemGroup>
<Compile Remove="Entities\NetworkLogs\**" />
<Compile Remove="Models\ProtocolClient\**" />
<EmbeddedResource Remove="Entities\NetworkLogs\**" />
<EmbeddedResource Remove="Models\ProtocolClient\**" />
<None Remove="Entities\NetworkLogs\**" />
<None Remove="Models\ProtocolClient\**" />
</ItemGroup>
<ItemGroup>
@ -19,7 +22,6 @@
<ItemGroup>
<Folder Include="Models\Network\" />
<Folder Include="Models\ProtocolClient\" />
</ItemGroup>
</Project>

13
CoreAgent.Domain/Interfaces/CustomWSClient/ICustomMessageHandler.cs

@ -1,13 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoreAgent.Domain.Interfaces.CustomWSClient
{
public interface ICustomMessageHandler
{
void HandleMessage(string MsgData, IObserverCustomWebSocketClient observer);
}
}

13
CoreAgent.Domain/Interfaces/CustomWSClient/IObserverCustomWebSocketClient.cs

@ -1,13 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoreAgent.Domain.Interfaces.CustomWSClient
{
public interface IObserverCustomWebSocketClient
{
public void SendMessage(string message);
}
}

13
CoreAgent.Domain/Interfaces/ProtocolLogHandlers/IProtocolLogsProviderObserver.cs

@ -1,13 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoreAgent.Domain.Interfaces.ProtocolLogHandlers
{
public interface IProtocolLogsProviderObserver
{
void OnData(string msg);
}
}

15
CoreAgent.Domain/Interfaces/ProtocolLogHandlers/IProtocollHandleLogs.cs

@ -1,15 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoreAgent.Domain.Interfaces.ProtocolLogHandlers
{
public interface IProtocollHandleLogs
{
public void RunStart();
public void RunStop();
}
}

1
CoreAgent.Infrastructure/CoreAgent.Infrastructure.csproj

@ -15,7 +15,6 @@
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Options" Version="8.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" />
<PackageReference Include="Serilog" Version="3.1.1" />
<PackageReference Include="Serilog.Extensions.Hosting" Version="8.0.0" />
<PackageReference Include="Serilog.Settings.Configuration" Version="8.0.0" />

Loading…
Cancel
Save