SafeDispatch/SipComponent/CustomTimer.cs

19 lines
371 B
C#
Raw Normal View History

2024-02-22 16:43:59 +00:00
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;
}
}
}