Removed CommonCore
This commit is contained in:
@@ -3,12 +3,10 @@ using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace RandomLogging.Service;
|
||||
|
||||
public class RandomLoggingService : BackgroundService
|
||||
public class RandomLoggingService(ILogger<RandomLoggingService> logger) : BackgroundService
|
||||
{
|
||||
#region Constructors
|
||||
|
||||
public RandomLoggingService(ILogger<RandomLoggingService> logger)
|
||||
=> _logger = logger;
|
||||
#region Constructors
|
||||
|
||||
#endregion
|
||||
|
||||
@@ -16,7 +14,7 @@ public class RandomLoggingService : BackgroundService
|
||||
|
||||
#region Injected
|
||||
|
||||
private readonly ILogger _logger;
|
||||
private readonly ILogger _logger = logger;
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
Reference in New Issue
Block a user