This documentation is archived and is not being maintained.
TfsGitObject Class
Visual Studio 2013
Base class for objects in a Git repository.
System.Object
Microsoft.TeamFoundation.Git.Server.TfsGitObject
Microsoft.TeamFoundation.Git.Server.TfsGitBlob
Microsoft.TeamFoundation.Git.Server.TfsGitCommit
Microsoft.TeamFoundation.Git.Server.TfsGitTag
Microsoft.TeamFoundation.Git.Server.TfsGitTree
Microsoft.TeamFoundation.Git.Server.TfsGitObject
Microsoft.TeamFoundation.Git.Server.TfsGitBlob
Microsoft.TeamFoundation.Git.Server.TfsGitCommit
Microsoft.TeamFoundation.Git.Server.TfsGitTag
Microsoft.TeamFoundation.Git.Server.TfsGitTree
Namespace: Microsoft.TeamFoundation.Git.Server
Assembly: Microsoft.TeamFoundation.Git.Server (in Microsoft.TeamFoundation.Git.Server.dll)
The TfsGitObject type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | ObjectId | The 20-byte SHA-1 hash of this object. |
![]() | ObjectType | The type of this object. |
![]() | Repository | The repository in which this object exists. |
| Name | Description | |
|---|---|---|
![]() ![]() | ConvertToLocalTime | Convert DateTime to local time using specified offset. If no offset is supplied, use server time. |
![]() | 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.) |
![]() | GetContent | Gets the content for this object from the owning repository. |
![]() | GetContentBytes | Gets the content for this object from the owning repository. |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetLength | Gets the length for this object from the owning repository. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | (Overrides Object.ToString.) |
![]() ![]() | TryParseIdentity |
| Name | Description | |
|---|---|---|
![]() | GetResolvableObjectType | (Defined by Extensions.) |
![]() | ResolveToCommit | (Defined by Extensions.) |
![]() | TryResolveToCommit | (Defined by Extensions.) |
Show:
