Summary
This class is the base class for named revisions, like tags and bookmarks.
- Assembly
- Mercurial
.Net .dll - Namespace
- Mercurial
- Interfaces
-
- IEquatable
<T>
- IEquatable
- Base Types
-
- object
- Derived Types
graph TD
Base0["object"]-->Type
Interface0["IEquatable<T>"]-.->Type
Type["NamedRevision"]
class Type type-node
Type-->Derived0["Bookmark"]
click Derived0 "/Cake.Hg/api/Mercurial/Bookmark"
Type-->Derived1["BranchHead"]
click Derived1 "/Cake.Hg/api/Mercurial/BranchHead"
Type-->Derived2["Tag"]
click Derived2 "/Cake.Hg/api/Mercurial/Tag"
Syntax
public abstract class NamedRevision : IEquatable<NamedRevision>
Constructors
Name | Summary |
---|---|
NamedRevision |
Initializes a new instance of the NamedRevision class.
|
Properties
Name | Value | Summary |
---|---|---|
Name | string |
Gets the name of the tag or bookmark.
|
RevisionNumber | int |
Gets the revision number the name is currently for.
|
Methods
Name | Value | Summary |
---|---|---|
Equals |
bool |
Indicates whether the current object is equal to another object of the same type.
|
Equals |
bool | |
GetHashCode |
int |
Serves as a hash function for a particular type.
|