/// <summary>Starts the delayed run.</summary> /// <param name="delay">The time span.</param> public void StartDelayedRun(TimeSpan delay) { this.InitialTimeDelay = delay; this.timer = new Timer(delay); this.isRunning = true; }
/// <summary>Initializes a new instance of the <see cref="IntervalEntitySystem"/> class.</summary> /// <param name="timeSpan">The time span.</param> /// <param name="aspect">The aspect.</param> protected IntervalEntitySystem(TimeSpan timeSpan, Aspect aspect) : base(aspect) { this.timer = new Timer(timeSpan); }
/// <summary>Initializes a new instance of the <see cref="IntervalTagSystem"/> class.</summary> /// <param name="timeSpan">The time span.</param> /// <param name="tag">The tag.</param> protected IntervalTagSystem(TimeSpan timeSpan, string tag) : base(tag) { this.timer = new Timer(timeSpan); }
/// <summary>Initializes a new instance of the <see cref="IntervalEntitySystem"/> class.</summary> /// <param name="timeSpan">The time span.</param> /// <param name="types">The types.</param> protected IntervalEntitySystem(TimeSpan timeSpan, params Type[] types) : base(types) { this.timer = new Timer(timeSpan); }
/// <summary>Initializes a new instance of the <see cref="IntervalProcessingSystem"/> class.</summary> /// <param name="timeSpan">The time span.</param> protected IntervalProcessingSystem(TimeSpan timeSpan) { this.timer = new Timer(timeSpan); }