GitGraphCommit Class

A commit on the current branch of a Git graph (Mermaid commit).

public sealed class GitGraphCommit : GitGraphOperation
Inheritance
GitGraphOperation GitGraphCommit

Constructors

NameDescription
GitGraphCommit()

GitGraphCommit()

GitGraphCommit.cs
public GitGraphCommit()

No documentation is available.

Properties

NameDescription
IdGets or sets the identifier, shown below the commit, or null to generate one.
MessageGets or sets the message of the commit, or null for none. Mermaid does not draw it.
TagsGets the tags, drawn above the commit.
TypeGets or sets the type, which sets the symbol of the commit.

Gets or sets the identifier, shown below the commit, or null to generate one.

public string? Id { get; set; }

Property value

string?

Gets or sets the message of the commit, or null for none. Mermaid does not draw it.

public string? Message { get; set; }

Property value

string?

Gets the tags, drawn above the commit.

public IList<string> Tags { get; }

Property value

IList<string>

Gets or sets the type, which sets the symbol of the commit.

public GitGraphCommitType Type { get; set; }

Property value

GitGraphCommitType