Reformatting
This commit is contained in:
parent
9f78185e15
commit
c4e2812ffd
1 changed files with 5 additions and 5 deletions
|
@ -7,7 +7,7 @@ using Microsoft.Extensions.Configuration;
|
||||||
|
|
||||||
public class AuthorizationServer : NetCoreServer.TcpServer
|
public class AuthorizationServer : NetCoreServer.TcpServer
|
||||||
{
|
{
|
||||||
[Inject] private readonly Microsoft.Extensions.Logging.ILogger _logger;
|
[Inject] private readonly ILogger _logger;
|
||||||
|
|
||||||
public AuthorizationServer(IConfiguration configuration, ILoggerFactory loggerFactory) : base(
|
public AuthorizationServer(IConfiguration configuration, ILoggerFactory loggerFactory) : base(
|
||||||
configuration["auth:address"]!,
|
configuration["auth:address"]!,
|
||||||
|
@ -24,25 +24,25 @@ public class AuthorizationServer : NetCoreServer.TcpServer
|
||||||
protected override void OnStarting()
|
protected override void OnStarting()
|
||||||
{
|
{
|
||||||
base.OnStarting();
|
base.OnStarting();
|
||||||
_logger.LogInformation(" is starting");
|
_logger.LogInformation("is starting");
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnStarted()
|
protected override void OnStarted()
|
||||||
{
|
{
|
||||||
base.OnStarted();
|
base.OnStarted();
|
||||||
_logger.LogInformation(" is started");
|
_logger.LogInformation("is started");
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnStopping()
|
protected override void OnStopping()
|
||||||
{
|
{
|
||||||
base.OnStopping();
|
base.OnStopping();
|
||||||
_logger.LogInformation(" is stopping");
|
_logger.LogInformation("is stopping");
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnStopped()
|
protected override void OnStopped()
|
||||||
{
|
{
|
||||||
base.OnStopped();
|
base.OnStopped();
|
||||||
_logger.LogInformation(" is stopped");
|
_logger.LogInformation("is stopped");
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnError(System.Net.Sockets.SocketError error)
|
protected override void OnError(System.Net.Sockets.SocketError error)
|
||||||
|
|
Loading…
Reference in a new issue