SequenceActivation Class

The start or the end of an activation of a participant of a sequence diagram: a bar on its lifeline (Mermaid activate and deactivate).

public sealed class SequenceActivation : SequenceStep
Inheritance
SequenceStep SequenceActivation

Constructors

NameDescription
SequenceActivation(SequenceParticipant, bool)Initializes a new instance of the SequenceActivation class.

SequenceActivation(SequenceParticipant, bool)

SequenceActivation.cs

Initializes a new instance of the SequenceActivation class.

public SequenceActivation(SequenceParticipant participant, bool isActivation = true)

Parameters

participant SequenceParticipant
The participant.
isActivation bool
Whether the activation starts; otherwise, it ends.

Properties

NameDescription
IsActivationGets or sets a value that indicates whether the activation starts; otherwise, it ends. The activations of a participant nest.
ParticipantGets the participant.

Gets or sets a value that indicates whether the activation starts; otherwise, it ends. The activations of a participant nest.

public bool IsActivation { get; set; }

Property value

bool

Gets the participant.

public SequenceParticipant Participant { get; }

Property value

SequenceParticipant