API Reference
Class
GitGraphCommit
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
- Property GitGraphBlock.Commits
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 System.String
- branchName System.String
- parentIds System.Collections.Generic.IEnumerable<System.String>? = null
- type ChartForgeX.VisualBlocks.GitGraphCommitType = Normal
- label System.String = ""
- tag System.String = ""
- sourceCommitId System.String = ""
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
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.