BranchHead Class

Summary

This class encapsulates information about a single persistent BranchHead in the repository.
Assembly
Mercurial.Net.dll
Namespace
Mercurial
Interfaces
  • IEquatable<T>
Base Types
graph TD Base0["NamedRevision"]-->Type click Base0 "/Cake.Hg/api/Mercurial/NamedRevision" Base1["object"]-->Base0 Interface0["IEquatable<T>"]-.->Type Type["BranchHead"] class Type type-node

Syntax

public class BranchHead : NamedRevision, IEquatable<NamedRevision>, IEquatable<BranchHead>

Constructors

Name Summary
BranchHead(int, string) Initializes a new instance of the BranchHead class.

Properties

Name Value Summary
Name string
Gets the name of the tag or bookmark.
Inherited from NamedRevision
RevisionNumber int
Gets the revision number the name is currently for.
Inherited from NamedRevision

Methods

Name Value Summary
Equals(BranchHead) bool
Indicates whether the current object is equal to another object of the same type.
Equals(NamedRevision) bool
Indicates whether the current object is equal to another object of the same type.
Inherited from NamedRevision
Equals(object) bool
Determines whether the specified object is equal to the current object.
GetHashCode() int
Serves as a hash function for a particular type.
ToString() string
Returns a string that represents the current object.