Skip to content
ChartForgeX
Class

GitGraphCommit

ChartForgeX.VisualBlocks

Namespace
ChartForgeX.VisualBlocks
Assembly
ChartForgeX
Modifiers
sealed

Describes one commit in a git graph visual block.

Inheritance

  • object
  • GitGraphCommit

Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Constructors

public GitGraphCommit(string id, string branchName, IEnumerable<string>? parentIds = null, GitGraphCommitType type = Normal, string label = "", string tag = "", string sourceCommitId = "") #

Initializes a git graph commit.

Parameters

id string required
branchName string required
parentIds System.Collections.Generic.IEnumerable<string>? = null optional
type ChartForgeX.VisualBlocks.GitGraphCommitType = Normal optional
label string = "" optional
tag string = "" optional
sourceCommitId string = "" optional

Properties

public string Id { get; set; } #

Gets or sets the stable commit id.

public string BranchName { get; set; } #

Gets or sets the branch lane name.

public IReadOnlyList<string> ParentIds { get; } #

Gets parent commit ids.

public GitGraphCommitType Type { get; set; } #

Gets or sets the commit type.

public string Label { get; set; } #

Gets or sets the optional display label.

public string Tag { get; set; } #

Gets or sets the optional tag label.

public string SourceCommitId { get; set; } #

Gets or sets the source commit id for cherry-pick commits.