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 | |
---|---|---|
ObjectId | The 20-byte SHA-1 hash of this object. (Inherited from TfsGitObject.) | |
ObjectType | The type of this object. (Inherited from TfsGitObject.) | |
Repository | The repository in which this object exists. (Inherited from TfsGitObject.) |
Top
Methods
Name | Description | |
---|---|---|
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.) | |
GetAuthor | ||
GetAuthorTime | ||
GetComment | ||
GetCommitter | ||
GetCommitTime | ||
GetContent | Gets the content for this object from the owning repository. (Inherited from TfsGitObject.) | |
GetContentBytes | Gets the content for this object from the owning repository. (Inherited from TfsGitObject.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetLength | Gets the length for this object from the owning repository. (Inherited from TfsGitObject.) | |
GetLocalAuthorTime | ||
GetLocalCommitTime | ||
GetNotes | ||
GetParents | ||
GetTree | ||
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | (Inherited from TfsGitObject.) |
Top
Extension Methods
Name | Description | |
---|---|---|
GetArtifactId | (Defined by Extensions.) | |
GetManifest | (Defined by Extensions.) | |
GetResolvableObjectType | (Defined by Extensions.) | |
ResolveToCommit | (Defined by Extensions.) | |
TryResolveToCommit | (Defined by Extensions.) |
Top
Fields
Name | Description | |
---|---|---|
m_objectId | (Inherited from TfsGitObject.) | |
m_objectType | (Inherited from TfsGitObject.) | |
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.