Share via


GitBranchDiff Constructor (GitCommit, String, Int32, Int32)

Namespace:  Microsoft.TeamFoundation.SourceControl.WebApi.Legacy
Assembly:  Microsoft.TeamFoundation.SourceControl.WebApi (in Microsoft.TeamFoundation.SourceControl.WebApi.dll)

Syntax

'Declaration
Public Sub New ( _
    commit As GitCommit, _
    refName As String, _
    aheadCount As Integer, _
    behindCount As Integer _
)
public GitBranchDiff(
    GitCommit commit,
    string refName,
    int aheadCount,
    int behindCount
)
public:
GitBranchDiff(
    GitCommit^ commit, 
    String^ refName, 
    int aheadCount, 
    int behindCount
)
new : 
        commit:GitCommit * 
        refName:string * 
        aheadCount:int * 
        behindCount:int -> GitBranchDiff
public function GitBranchDiff(
    commit : GitCommit, 
    refName : String, 
    aheadCount : int, 
    behindCount : int
)

Parameters

.NET Framework Security

See Also

Reference

GitBranchDiff Class

GitBranchDiff Overload

Microsoft.TeamFoundation.SourceControl.WebApi.Legacy Namespace