Annotation Class

Summary

This object contains information about an annotated line from a text file in the repository.
Assembly
Mercurial.Net.dll
Namespace
Mercurial
Interfaces
  • IEquatable<T>
Base Types
  • object
graph TD Base0["object"]-->Type Interface0["IEquatable<T>"]-.->Type Type["Annotation"] class Type type-node

Syntax

public sealed class Annotation : IEquatable<Annotation>

Attributes

Type Description
DebuggerDisplayAttribute

Constructors

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

Properties

Name Value Summary
Line string
Gets the annotated version of that line.
LineNumber int
Gets the zero-based line number for this Annotation.
RevisionNumber int
Gets the revision number of the changeset that last modified the line in this Annotation.

Methods

Name Value Summary
Equals(Annotation) bool
Indicates whether the current object is equal to another object of the same type.
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.