命名空间: Microsoft.TeamFoundation.Git.Server
程序集: Microsoft.TeamFoundation.Git.Server(在 Microsoft.TeamFoundation.Git.Server.dll 中)
语法
声明
Public Shared Function ExpandHavesAndWants ( _
requestContext As TeamFoundationRequestContext, _
repository As TfsGitRepository, _
haves As HashSet(Of Byte()), _
wants As IEnumerable(Of Byte()), _
shallows As Dictionary(Of Byte(), Boolean), _
wantsPreExpanded As Boolean, _
<OutAttribute> ByRef baseHaves As HashSet(Of TfsGitObject) _
) As HashSet(Of TfsGitObject)
public static HashSet<TfsGitObject> ExpandHavesAndWants(
TeamFoundationRequestContext requestContext,
TfsGitRepository repository,
HashSet<byte[]> haves,
IEnumerable<byte[]> wants,
Dictionary<byte[], bool> shallows,
bool wantsPreExpanded,
out HashSet<TfsGitObject> baseHaves
)
参数
- requestContext
类型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- repository
类型:Microsoft.TeamFoundation.Git.Server.TfsGitRepository
- haves
类型:System.Collections.Generic.HashSet<array<Byte[]>
- wants
类型:System.Collections.Generic.IEnumerable<array<Byte[]>
- shallows
类型:System.Collections.Generic.Dictionary<array<Byte[], Boolean>
- wantsPreExpanded
类型:System.Boolean
- baseHaves
类型:System.Collections.Generic.HashSet<TfsGitObject>%
返回值
类型:System.Collections.Generic.HashSet<TfsGitObject>
返回 HashSet<T>。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。