Interface ITrigger
Public interface of a trigger.
Namespace: ISynergy.Framework.Automations.Abstractions
Assembly: ISynergy.Framework.Automations.dll
Syntax
public interface ITrigger
  Properties
View SourceAutomationId
Gets or sets the AutomationId property value.
Declaration
Guid AutomationId { get; }
  Property Value
| Type | Description | 
|---|---|
| Guid | 
For
You can use For to have the trigger only fire if the state holds for some time.
Declaration
TimeSpan For { get; set; }
  Property Value
| Type | Description | 
|---|---|
| TimeSpan | 
TriggerId
Trigger Id.
Declaration
Guid TriggerId { get; }
  Property Value
| Type | Description | 
|---|---|
| Guid |