Tag Class

Summary

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

Syntax

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

Constructors

Name Summary
Tag(int, string) Initializes a new instance of the Tag 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(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.
Equals(Tag) bool
Indicates whether the current object is equal to another object of the same type.
GetHashCode() int
Serves as a hash function for a particular type.
ToString() string
Returns a string that represents the current object.