/// <summary>
/// Initializes a new instance of the <see cref="Timer"/> class.
/// </summary>
/// <param name="options">Configuration data for this timer.</param>
public Timer(TimerOptions options)
{
if (options == null)
{
throw new ArgumentNullException("options");
}
this.timerStart = null;
this.options = TimerOptions.FromTimerOptions(options);
this.UpdateHourglassTimer();
}