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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- repository
Type: Microsoft.TeamFoundation.Git.Server.TfsGitRepository
- haves
Type: System.Collections.Generic.HashSet<array<Byte[]>
- wants
Type: System.Collections.Generic.IEnumerable<array<Byte[]>
- shallows
Type: System.Collections.Generic.Dictionary<array<Byte[], Boolean>
- wantsPreExpanded
Type: System.Boolean
- baseHaves
Type: System.Collections.Generic.HashSet<TfsGitObject>%
Return Value
Type: System.Collections.Generic.HashSet<TfsGitObject>
Returns HashSet<T>.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.