GitBranchStats 建構函式 (GitCommitRef, String, Int32, Int32)
命名空間: Microsoft.TeamFoundation.SourceControl.WebApi
組件: Microsoft.TeamFoundation.SourceControl.WebApi (在 Microsoft.TeamFoundation.SourceControl.WebApi.dll 中)
語法
'宣告
Public Sub New ( _
commit As GitCommitRef, _
name As String, _
aheadCount As Integer, _
behindCount As Integer _
)
public GitBranchStats(
GitCommitRef commit,
string name,
int aheadCount,
int behindCount
)
參數
- name
類型:System.String
- aheadCount
類型:System.Int32
- behindCount
類型:System.Int32
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。