Class TriggerHeaderDto
One row of a trigger listing: enough to show the trigger without loading it.
public sealed record TriggerHeaderDto : IEquatable<TriggerHeaderDto>
- Inheritance
-
TriggerHeaderDto
- Implements
- Inherited Members
Remarks
ScheduleSummary is null on the listings that do not load the triggers themselves, and State is null when the listing could not pair the header with a state.
Constructors
TriggerHeaderDto(string, string, string?, string?, TriggerState?, string?)
One row of a trigger listing: enough to show the trigger without loading it.
public TriggerHeaderDto(string Group, string Name, string? TriggerType, string? ScheduleSummary, TriggerState? State, string? ExecutionGroup)
Parameters
GroupstringNamestringTriggerTypestringScheduleSummarystringStateTriggerState?ExecutionGroupstring
Remarks
ScheduleSummary is null on the listings that do not load the triggers themselves, and State is null when the listing could not pair the header with a state.
Properties
ContinuationCondition
The outcomes of that firing which release the wait, or null when the trigger waits for nothing.
public ContinuationCondition? ContinuationCondition { get; init; }
Property Value
ContinuesAfter
The trigger whose firing this one is waiting for, or null when it waits for nothing. Set while State is Awaiting, and on a continuation parked in Error because its parent was deleted. A released continuation waits for nothing — the release clears the parent — so it is null for one.
public TriggerKeyDto? ContinuesAfter { get; init; }
Property Value
Remarks
An init property rather than a positional parameter, and the same goes for
ContinuationCondition: the record's constructor is a public signature, and a 4.0.x
patch adds beside one rather than to it.
ExecutionGroup
public string? ExecutionGroup { get; init; }
Property Value
Group
public string Group { get; init; }
Property Value
Name
public string Name { get; init; }
Property Value
Pause
Why the trigger is paused, who asked and when, or null when it is not paused or
its pause recorded nothing. An init property for the reason ContinuesAfter is one.
public PauseInfo? Pause { get; init; }
Property Value
ScheduleSummary
public string? ScheduleSummary { get; init; }
Property Value
State
public TriggerState? State { get; init; }
Property Value
TriggerType
public string? TriggerType { get; init; }