19 lines
371 B
C#
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;
|
|
}
|
|
}
|
|
}
|