EventModelingDataBlock Class

A data block of an event model: named data that frames reference (Mermaid data name { ... }).

public sealed class EventModelingDataBlock

Constructors

NameDescription
EventModelingDataBlock(string, EventModelingData)Initializes a new instance of the EventModelingDataBlock class.

EventModelingDataBlock(string, EventModelingData)

EventModelingDataBlock.cs

Initializes a new instance of the EventModelingDataBlock class.

public EventModelingDataBlock(string name, EventModelingData data)

Parameters

name string
The name, which frames use to reference the block.
data EventModelingData
The data.

Properties

NameDescription
DataGets or sets the data.
NameGets the name, which frames use to reference the block.

Gets or sets the data.

public EventModelingData Data { get; set; }

Property value

EventModelingData

Gets the name, which frames use to reference the block.

public string Name { get; }

Property value

string

Methods

NameDescription
ToString()Returns the name of the block.

Returns the name of the block.

public override string ToString()

Returns

string The name.