Extensions.GetFilteredRefs Method
Namespace: Microsoft.TeamFoundation.Git.Server
Assembly: Microsoft.TeamFoundation.Git.Server (in Microsoft.TeamFoundation.Git.Server.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function GetFilteredRefs ( _
collection As TfsGitRepositoryRefsCollection, _
requestContext As TeamFoundationRequestContext, _
refsFilter As String _
) As IEnumerable(Of TfsGitRef)
public static IEnumerable<TfsGitRef> GetFilteredRefs(
this TfsGitRepositoryRefsCollection collection,
TeamFoundationRequestContext requestContext,
string refsFilter
)
[ExtensionAttribute]
public:
static IEnumerable<TfsGitRef^>^ GetFilteredRefs(
TfsGitRepositoryRefsCollection^ collection,
TeamFoundationRequestContext^ requestContext,
String^ refsFilter
)
static member GetFilteredRefs :
collection:TfsGitRepositoryRefsCollection *
requestContext:TeamFoundationRequestContext *
refsFilter:string -> IEnumerable<TfsGitRef>
public static function GetFilteredRefs(
collection : TfsGitRepositoryRefsCollection,
requestContext : TeamFoundationRequestContext,
refsFilter : String
) : IEnumerable<TfsGitRef>
Parameters
- collection
Type: Microsoft.TeamFoundation.Git.Server.TfsGitRepositoryRefsCollection
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- refsFilter
Type: System.String
Return Value
Type: System.Collections.Generic.IEnumerable<TfsGitRef>
Returns IEnumerable<T>.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type TfsGitRepositoryRefsCollection. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
.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.