Bookmark Class

Summary

This class encapsulates information about a single bookmark 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["Bookmark"] class Type type-node

Syntax

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

Constructors

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

Properties

Name Value Summary
IsWorkingFolder bool
Gets a value indicating whether the working folder is currently at this bookmark.
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(Bookmark) 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.