SafeDispatch/SipComponent/CustomTimer.cs
2024-02-22 18:43:59 +02:00

19 lines
371 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SipComponent
{
class TimerWithTag<T> : System.Timers.Timer
{
public T Tag { get; private set; }
public TimerWithTag(double interval, T tag) : base(interval)
{
Tag = tag;
}
}
}