• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class AlarmTrigger

An alarm trigger (RFC 5545 §3.8.6.3). A trigger can be a duration relative to the start or end of the component, or an absolute date-time.

Inheritance
object
AlarmTrigger
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Mail.Rfc.ICal
Assembly: DRIT.Mail.dll
Syntax
public sealed class AlarmTrigger

Constructors

View Source

AlarmTrigger(ICalDateTime)

Initializes a new instance of the AlarmTrigger class as an absolute date-time.

Declaration
public AlarmTrigger(ICalDateTime dateTime)
Parameters
Type Name Description
ICalDateTime dateTime

The absolute trigger date-time.

View Source

AlarmTrigger(ICalDuration)

Initializes a new instance of the AlarmTrigger class as a duration relative to the start of the component.

Declaration
public AlarmTrigger(ICalDuration duration)
Parameters
Type Name Description
ICalDuration duration

The trigger duration.

View Source

AlarmTrigger(ICalDuration, AlarmTriggerRelated)

Initializes a new instance of the AlarmTrigger class as a duration relative to the specified point.

Declaration
public AlarmTrigger(ICalDuration duration, AlarmTriggerRelated related)
Parameters
Type Name Description
ICalDuration duration

The trigger duration.

AlarmTriggerRelated related

What the duration is relative to.

Properties

View Source

DateTime

Gets the absolute trigger date-time, or null if this is a duration trigger.

Declaration
public ICalDateTime? DateTime { get; }
Property Value
Type Description
ICalDateTime
View Source

Duration

Gets the trigger duration, or null if this is a date-time trigger.

Declaration
public ICalDuration? Duration { get; }
Property Value
Type Description
ICalDuration
View Source

Related

Gets what the duration is relative to (start or end). Only meaningful for duration triggers.

Declaration
public AlarmTriggerRelated Related { get; }
Property Value
Type Description
AlarmTriggerRelated
View Source

Type

Gets the trigger type (duration or date-time).

Declaration
public AlarmTriggerType Type { get; }
Property Value
Type Description
AlarmTriggerType
  • View Source
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX