Share via


GitUtils.ExpandHavesAndWants Method

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

Syntax

'Declaration
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
)
public:
static HashSet<TfsGitObject^>^ ExpandHavesAndWants(
    TeamFoundationRequestContext^ requestContext, 
    TfsGitRepository^ repository, 
    HashSet<array<unsigned char>^>^ haves, 
    IEnumerable<array<unsigned char>^>^ wants, 
    Dictionary<array<unsigned char>^, bool>^ shallows, 
    bool wantsPreExpanded, 
    [OutAttribute] HashSet<TfsGitObject^>^% baseHaves
)
static member ExpandHavesAndWants : 
        requestContext:TeamFoundationRequestContext * 
        repository:TfsGitRepository * 
        haves:HashSet<byte[]> * 
        wants:IEnumerable<byte[]> * 
        shallows:Dictionary<byte[], bool> * 
        wantsPreExpanded:bool * 
        baseHaves:HashSet<TfsGitObject> byref -> HashSet<TfsGitObject> 
public static function ExpandHavesAndWants(
    requestContext : TeamFoundationRequestContext, 
    repository : TfsGitRepository, 
    haves : HashSet<byte[]>, 
    wants : IEnumerable<byte[]>, 
    shallows : Dictionary<byte[], boolean>, 
    wantsPreExpanded : boolean, 
    baseHaves : HashSet<TfsGitObject>
) : HashSet<TfsGitObject>

Parameters

Return Value

Type: System.Collections.Generic.HashSet<TfsGitObject>
Returns HashSet<T>.

.NET Framework Security

See Also

Reference

GitUtils Class

Microsoft.TeamFoundation.Git.Server Namespace