Compartir a través de


Extensions.ResolveToCommit Method

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function ResolveToCommit ( _
    gitObject As TfsGitObject, _
    requestContext As TeamFoundationRequestContext _
) As TfsGitCommit
public static TfsGitCommit ResolveToCommit(
    this TfsGitObject gitObject,
    TeamFoundationRequestContext requestContext
)
[ExtensionAttribute]
public:
static TfsGitCommit^ ResolveToCommit(
    TfsGitObject^ gitObject, 
    TeamFoundationRequestContext^ requestContext
)
static member ResolveToCommit : 
        gitObject:TfsGitObject * 
        requestContext:TeamFoundationRequestContext -> TfsGitCommit
public static function ResolveToCommit(
    gitObject : TfsGitObject, 
    requestContext : TeamFoundationRequestContext
) : TfsGitCommit

Parameters

Return Value

Type: Microsoft.TeamFoundation.Git.Server.TfsGitCommit
Returns TfsGitCommit.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type TfsGitObject. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

.NET Framework Security

See Also

Reference

Extensions Class

Microsoft.TeamFoundation.Git.Server Namespace