Show / Hide Table of Contents

Class ReferenceCollection

Accessors for the Git references (branches, tags) in a repository.

Inheritance
System.Object
ReferenceCollection
Namespace: Dogged
Assembly: Dogged.dll
Syntax
public class ReferenceCollection : IEnumerable<Reference>

Methods

| Improve this Doc View Source

GetEnumerator()

Returns an enumerator that iterates through references.

Note that the returned references are and must be disposed properly.

Declaration
public IEnumerator<Reference> GetEnumerator()
Returns
Type Description
IEnumerator<Reference>

An enumerator of IndexEntry objects

| Improve this Doc View Source

Lookup(String)

Lookup and return the reference as specified by the given name.

Declaration
public Reference Lookup(string name)
Parameters
Type Name Description
System.String name

The reference to lookup

Returns
Type Description
Reference

The reference specified by the given name

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX