IshikawaCause Class

A cause of an Ishikawa diagram: a bone with a text, and the causes that lead to it as smaller bones.

public sealed class IshikawaCause

Constructors

NameDescription
IshikawaCause(DiagramText)Initializes a new instance of the IshikawaCause class.

IshikawaCause(DiagramText)

IshikawaCause.cs

Initializes a new instance of the IshikawaCause class.

public IshikawaCause(DiagramText label)

Parameters

label DiagramText
The text of the cause.

Properties

NameDescription
CausesGets the causes of this cause.
LabelGets or sets the text of the cause. A line feed starts a new line.

Gets the causes of this cause.

public IList<IshikawaCause> Causes { get; }

Property value

IList<IshikawaCause>

Gets or sets the text of the cause. A line feed starts a new line.

public DiagramText Label { get; set; }

Property value

DiagramText

Methods

NameDescription
AddCause(DiagramText)Adds a cause of this cause.
ToString()Returns the text of the cause.

AddCause(DiagramText)

IshikawaCause.cs

Adds a cause of this cause.

public IshikawaCause AddCause(DiagramText label)

Parameters

label DiagramText
The text of the cause.

Returns

IshikawaCause The cause.

Returns the text of the cause.

public override string ToString()

Returns

string The text.