EventModelingScenario Class
A given/when/then scenario of a frame of an event model (Mermaid gwt). Mermaid does not draw it.
public sealed class EventModelingScenarioConstructors
| Name | Description |
|---|---|
| EventModelingScenario(EventModelingFrame) | Initializes a new instance of the EventModelingScenario class. |
EventModelingScenario(EventModelingFrame)
EventModelingScenario.csInitializes a new instance of the EventModelingScenario class.
public EventModelingScenario(EventModelingFrame frame)Parameters
frameEventModelingFrame- The frame the scenario describes.
Properties
| Name | Description |
|---|---|
| Frame | Gets or sets the frame the scenario describes. |
| Given | Gets the entities of the initial state. A scenario has one at least. |
| Then | Gets the entities of the outcome. A scenario has one at least. |
| When | Gets the entities of the action, or an empty list for none. |
Gets or sets the frame the scenario describes.
public EventModelingFrame Frame { get; set; }Property value
Gets the entities of the initial state. A scenario has one at least.
public IList<EventModelingStep> Given { get; }Property value
Gets the entities of the outcome. A scenario has one at least.
public IList<EventModelingStep> Then { get; }Property value
Gets the entities of the action, or an empty list for none.
public IList<EventModelingStep> When { get; }