SequenceParticipant Class
A participant of a sequence diagram: a box, a person or a symbol at the top of its lifeline.
public sealed class SequenceParticipantConstructors
| Name | Description |
|---|---|
| SequenceParticipant(string, DiagramText?) | Initializes a new instance of the SequenceParticipant class. |
SequenceParticipant(string, DiagramText?)
SequenceParticipant.csInitializes a new instance of the SequenceParticipant class.
public SequenceParticipant(string id, DiagramText? label = null)Parameters
idstring- The identifier, unique in the diagram, which is shown when there is no label.
labelDiagramText?- The name shown, or
nullto show the identifier.
Properties
| Name | Description |
|---|---|
| Id | Gets the identifier, unique in the diagram. |
| Kind | Gets or sets how the participant is drawn. |
| Label | Gets or sets the name shown, or null to show the identifier (Mermaid alias). |
Gets or sets how the participant is drawn.
public SequenceParticipantKind Kind { get; set; }Property value
Gets or sets the name shown, or null to show the identifier (Mermaid alias).
public DiagramText? Label { get; set; }Property value
Methods
| Name | Description |
|---|---|
| ToString() | Returns the identifier. |