Compartir a través de


TfsGitTree Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Git.Server.TfsGitObject
    Microsoft.TeamFoundation.Git.Server.TfsGitTree

Namespace:  Microsoft.TeamFoundation.Git.Server
Assembly:  Microsoft.TeamFoundation.Git.Server (in Microsoft.TeamFoundation.Git.Server.dll)

Syntax

'Declaration
Public Class TfsGitTree _
    Inherits TfsGitObject
public class TfsGitTree : TfsGitObject
public ref class TfsGitTree : public TfsGitObject
type TfsGitTree =  
    class 
        inherit TfsGitObject 
    end
public class TfsGitTree extends TfsGitObject

The TfsGitTree type exposes the following members.

Properties

  Name Description
Public property ObjectId The 20-byte SHA-1 hash of this object. (Inherited from TfsGitObject.)
Public property ObjectType The type of this object. (Inherited from TfsGitObject.)
Public property Repository The repository in which this object exists. (Inherited from TfsGitObject.)

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetBlobs
Public method GetContent Gets the content for this object from the owning repository. (Inherited from TfsGitObject.)
Public method GetContentBytes Gets the content for this object from the owning repository. (Inherited from TfsGitObject.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetLength Gets the length for this object from the owning repository. (Inherited from TfsGitObject.)
Public method GetObjects
Public method GetTreeEntries(TeamFoundationRequestContext)
Public method GetTreeEntries(TeamFoundationRequestContext, Boolean)
Public method GetTrees
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString (Inherited from TfsGitObject.)

Top

Extension Methods

  Name Description
Public Extension Method GetResolvableObjectType (Defined by Extensions.)
Public Extension Method ResolveToCommit (Defined by Extensions.)
Public Extension Method TryResolveToCommit (Defined by Extensions.)

Top

Fields

  Name Description
Protected field m_objectId (Inherited from TfsGitObject.)
Protected field m_objectType (Inherited from TfsGitObject.)
Protected field m_repository (Inherited from TfsGitObject.)

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.

See Also

Reference

Microsoft.TeamFoundation.Git.Server Namespace