TfsGitRepositoryRefsCollection Class
Represents the set of refs for a given TFS Git repository.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Git.Server.TfsGitRepositoryRefsCollection
Namespace: Microsoft.TeamFoundation.Git.Server
Assembly: Microsoft.TeamFoundation.Git.Server (in Microsoft.TeamFoundation.Git.Server.dll)
Syntax
'Declaration
Public Class TfsGitRepositoryRefsCollection
public class TfsGitRepositoryRefsCollection
public ref class TfsGitRepositoryRefsCollection
type TfsGitRepositoryRefsCollection = class end
public class TfsGitRepositoryRefsCollection
The TfsGitRepositoryRefsCollection type exposes the following members.
Methods
Name | Description | |
---|---|---|
All | Returns all refs in the repository. | |
AllRefHeads | Returns all ref heads in the repository. | |
AllRefNotes | Returns all ref notes in the repository. | |
AllRefTags | Returns all ref tags in the repository. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsNoteRef | ||
IsTagRef | ||
MatchingName | Returns the ref in the repository matching the provided name, or null if no such ref is found. | |
MatchingNames | Returns the refs in the repository whose name is in the provided list. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RefNotesInNamespace | Returns all ref notes in the repository for a given namespace | |
SetHead | Given the name of an existing ref in the repository, sets the HEAD pointer for the repository to that ref. If the ref does not exist, a GitRefNotFoundException will be thrown. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Write(TeamFoundationRequestContext, TfsGitRefUpdateRequest, IEnumerable<array<Byte[]>, DateTime%) | Writes the provided ref to the repository. | |
Write(TeamFoundationRequestContext, IEnumerable<TfsGitRefUpdateRequest>, IEnumerable<array<Byte[]>, DateTime%) | Writes the provided set of refs to the repository. |
Top
Extension Methods
Name | Description | |
---|---|---|
GetFilteredRefs | (Defined by Extensions.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.