• Guides
  • API Reference
  • Changelog
Show / Hide Table of Contents
  • DCR
    • EventKind
    • Expression
    • Flat
    • Graph
    • IEvent
    • Marking
    • NotEnabled
    • Path
    • TimeManager
    • Tools
    • UserNotAllowed
    • Value
  • DCR.Time
    • Duration
    • Timezones

Interface IEvent

Auxiliary type encapsulating both path, event, and enabled state of an event

Namespace: DCR
Assembly: Engine.dll
Syntax
public interface IEvent

Properties

Ancestors

Return the list of subprocess ancestors of this event, starting with the immediate parent and moving upwards.

Declaration
IEnumerable<Path> Ancestors { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<Path>

EffectivelyIncluded

True iff the event is included and all subprocess ancestors of this event is also included

Declaration
bool EffectivelyIncluded { get; }
Property Value
Type Description
System.Boolean

EffectivelyPending

True iff the event is pending and all subprocess ancestors of this event are also pending.

Declaration
bool EffectivelyPending { get; }
Property Value
Type Description
System.Boolean

Enabled

Return the list of enabled events

Declaration
bool Enabled { get; }
Property Value
Type Description
System.Boolean

GloballyPending

Deprectaed: See new version EffectivelyPending

Declaration
bool GloballyPending { get; }
Property Value
Type Description
System.Boolean

Marking

Declaration
Marking Marking { get; }
Property Value
Type Description
Marking

Name

Declaration
string Name { get; }
Property Value
Type Description
System.String

Parent

Path to the events parent event, empty path if no parent.

Declaration
Path Parent { get; }
Property Value
Type Description
Path

Path

Declaration
Path Path { get; }
Property Value
Type Description
Path

Whynot

An XML-serialisation of the set of reasons that an event is not enabled (empty list if it is enabled)

Declaration
XElement Whynot { get; }
Property Value
Type Description
System.Xml.Linq.XElement
In This Article
Back to top © 2019 DCR Solutions