Files
MTSC/MTSC.UnitTests/BackgroundServices/IteratingBackgroundService.cs

20 lines
498 B
C#

using MTSC.ServerSide.BackgroundServices;
namespace MTSC.UnitTests.BackgroundServices
{
public sealed class IteratingBackgroundService : BackgroundServiceBase
{
private readonly IteratingService iteratingService;
public IteratingBackgroundService(IteratingService iteratingService)
{
this.iteratingService = iteratingService;
}
public override void Execute()
{
this.iteratingService.Iterate();
}
}
}