Skip to content

Commit

Permalink
adjusted usings
Browse files Browse the repository at this point in the history
  • Loading branch information
kerryjiang committed Apr 8, 2024
1 parent 322db31 commit b0216fc
Show file tree
Hide file tree
Showing 14 changed files with 8 additions and 27 deletions.
1 change: 0 additions & 1 deletion samples/AspNetSample/AspNetSample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\SuperSocket.Server\SuperSocket.Server.csproj" />
<ProjectReference Include="..\..\src\SuperSocket.SessionContainer\SuperSocket.SessionContainer.csproj" />
</ItemGroup>
</Project>
1 change: 0 additions & 1 deletion samples/AspNetSample/Program.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Hosting;
using SuperSocket;
using SuperSocket.Server;
using SuperSocket.Server.Host;
using SuperSocket.Server.Abstractions.Session;
Expand Down
2 changes: 0 additions & 2 deletions samples/CommandServer/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using SuperSocket;
using SuperSocket.Server;
using SuperSocket.Server.Host;
using SuperSocket.Server.Abstractions.Session;
using SuperSocket.Command;
using SuperSocket.ProtoBase;

Expand Down
2 changes: 1 addition & 1 deletion samples/ConfigSample/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using SuperSocket;
using SuperSocket.Server;
using SuperSocket.Server.Host;
using SuperSocket.ProtoBase;

Expand Down
2 changes: 0 additions & 2 deletions samples/CustomProtocol/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@
using System.Collections.Generic;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using SuperSocket;
using SuperSocket.Server;
using SuperSocket.Server.Abstractions;
using SuperSocket.Server.Host;
using SuperSocket.ProtoBase;

namespace CustomProtocol
{
Expand Down
1 change: 0 additions & 1 deletion samples/EchoServer/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using SuperSocket;
using SuperSocket.Server;
using SuperSocket.Server.Abstractions;
using SuperSocket.Server.Host;
Expand Down
1 change: 0 additions & 1 deletion samples/WebSocketPushServer/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using SuperSocket;
using SuperSocket.Server;
using SuperSocket.Server.Abstractions;
using SuperSocket.Server.Abstractions.Host;
Expand Down
2 changes: 1 addition & 1 deletion src/SuperSocket.Command/CommandMiddlewareExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using SuperSocket.Server.Abstractions.Host;
using SuperSocket.Server.Abstractions.Middleware;

namespace SuperSocket
namespace SuperSocket.Server
{
public static class CommandMiddlewareExtensions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.Hosting;
using SuperSocket.Server.Abstractions.Connections;
using SuperSocket.Server.Abstractions.Host;
using SuperSocket.Server.Abstractions.Middleware;


namespace SuperSocket.Server.Abstractions.Host
namespace SuperSocket.Server
{
public static class HostBuilderExtensions
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Concurrent;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using SuperSocket.Server.Abstractions.Middleware;

namespace SuperSocket.Server.Abstractions.Session
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
using System;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using SuperSocket.Server.Abstractions.Host;
using SuperSocket.Server.Abstractions.Session;

namespace SuperSocket.Server.Abstractions.Session
namespace SuperSocket.Server
{
public static class InProcSessionContainerMiddlewareExtensions
{
Expand Down
8 changes: 1 addition & 7 deletions src/SuperSocket.Server/SuperSocketExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.Hosting;
using SuperSocket;
using SuperSocket.ProtoBase;
using SuperSocket.Server;
using System.Net;
using System.Net.Sockets;
using Microsoft.Extensions.Logging;
Expand All @@ -17,7 +11,7 @@
using SuperSocket.Server.Abstractions.Session;
using SuperSocket.Server.Host;

namespace SuperSocket
namespace SuperSocket.Server
{
public static class SuperSocketExtensions
{
Expand Down
1 change: 0 additions & 1 deletion src/SuperSocket.Udp/UdpConnectionListenerFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using SuperSocket.Connection;
using SuperSocket.ProtoBase;
using SuperSocket.Server.Abstractions;
using SuperSocket.Server.Abstractions.Connections;
using SuperSocket.Server.Abstractions.Session;
Expand Down
4 changes: 1 addition & 3 deletions src/SuperSocket.Udp/UdpServerHostBuilderExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,14 @@
using System.Linq;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using SuperSocket.Connection;
using SuperSocket.Server.Abstractions;
using SuperSocket.Server.Abstractions.Connections;
using SuperSocket.Server.Abstractions.Host;
using SuperSocket.Server.Abstractions.Middleware;
using SuperSocket.Server.Abstractions.Session;
using SuperSocket.Udp;


namespace SuperSocket
namespace SuperSocket.Server
{
public static class UdpServerHostBuilderExtensions
{
Expand Down

0 comments on commit b0216fc

Please sign in to comment.