Freigeben über


TfsGitCommit Class

Inheritance Hierarchy

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

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

Syntax

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

The TfsGitCommit 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 GetAuthor
Public method GetAuthorTime
Public method GetComment
Public method GetCommitter
Public method GetCommitTime
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 GetLocalAuthorTime
Public method GetLocalCommitTime
Public method GetNotes
Public method GetParents
Public method GetTree
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 GetArtifactId (Defined by Extensions.)
Public Extension Method GetManifest (Defined by Extensions.)
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