Class TimeIntervalNotificationTrigger
A trigger condition that causes a notification to be delivered after the specified amount of time elapses.
Inheritance
System.Object
TimeIntervalNotificationTrigger
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: VoxelBusters.EssentialKit
Assembly: cs.temp.dll.dll
Syntax
public sealed class TimeIntervalNotificationTrigger : INotificationTrigger
Constructors
TimeIntervalNotificationTrigger(Double, Boolean, Nullable<DateTime>)
Initializes a new instance of the TimeIntervalNotificationTrigger class.
Declaration
public TimeIntervalNotificationTrigger(double timeInterval, bool repeats, DateTime? nextTriggerDate = default(DateTime? ))
Parameters
Type | Name | Description |
---|---|---|
System.Double | timeInterval | Time interval. |
System.Boolean | repeats | If set to |
System.Nullable<DateTime> | nextTriggerDate | Next trigger date. |
Properties
NextTriggerDate
The next date at which the trigger conditions will be met.
Declaration
public DateTime? NextTriggerDate { get; }
Property Value
Type | Description |
---|---|
System.Nullable<DateTime> |
Repeats
Declaration
public bool Repeats { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
TimeInterval
The time (in seconds) that must elapse from the current time before the trigger fires. This value must be greater than zero.
Declaration
public double TimeInterval { get; }
Property Value
Type | Description |
---|---|
System.Double |