Interface ITimerService
Interface that allows you to create arbitrary timers, this exists so time-based logic can be tested using mocking.
Namespace: SlipeServer.Server.Services
Assembly: SlipeServer.Server.dll
Syntax
public interface ITimerService
Methods
| Edit this page View SourceCreateTimer(Action, TimeSpan)
Declaration
void CreateTimer(Action action, TimeSpan timespan)
Parameters
Type | Name | Description |
---|---|---|
Action | action | |
TimeSpan | timespan |