mirror of
https://github.com/AlexMacocian/MTSC.git
synced 2026-07-15 23:09:32 +00:00
24 lines
484 B
C#
24 lines
484 B
C#
using MTSC.ServerSide;
|
|
|
|
namespace MTSC.UnitTests.BackgroundServices
|
|
{
|
|
public class IteratingService
|
|
{
|
|
private readonly Server server;
|
|
|
|
public int Iteration { get; private set; } = 0;
|
|
|
|
public IteratingService(Server server)
|
|
{
|
|
this.server = server;
|
|
}
|
|
|
|
public void Iterate()
|
|
{
|
|
this.server.Log("Iterating");
|
|
this.Iteration++;
|
|
this.server.Log("Iterated");
|
|
}
|
|
}
|
|
}
|