CynefinItem Class

An item of a CynefinDiagram: a text drawn as a badge in its domain.

public sealed class CynefinItem

Constructors

NameDescription
CynefinItem(CynefinDomain, DiagramText)Initializes a new instance of the CynefinItem class.

CynefinItem(CynefinDomain, DiagramText)

CynefinItem.cs

Initializes a new instance of the CynefinItem class.

public CynefinItem(CynefinDomain domain, DiagramText label)

Parameters

domain CynefinDomain
The domain of the item.
label DiagramText
The text of the item.

Properties

NameDescription
DomainGets or sets the domain of the item.
LabelGets or sets the text of the item.

Gets or sets the domain of the item.

public CynefinDomain Domain { get; set; }

Property value

CynefinDomain

Gets or sets the text of the item.

public DiagramText Label { get; set; }

Property value

DiagramText

Methods

NameDescription
ToString()Returns the text of the item.

ToString()

CynefinItem.cs

Returns the text of the item.

public override string ToString()

Returns

string The text.