// change to RemoveTimer later public void DeleteTimer(ITimeHandler handler) { if (timers.Contains(handler)) { timers.Remove(handler); } }
public void AddTimer(ITimeHandler handler) { if (CheckTimer(handler)) { return; } else { timers.Add(handler); } }
public bool CheckTimer(ITimeHandler handler) { if (timers.Contains(handler)) { return(true); } else { return(false); } }
public RequestClient(ILogger <RequestClient> logger, ITimeHandler timeHandler) { _logger = logger; _timeHandler = timeHandler; }