GitModelExtensions.ToGitChanges Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Namespace: Microsoft.TeamFoundation.SourceControl.WebApi
Assembly: Microsoft.TeamFoundation.SourceControl.WebApi (in Microsoft.TeamFoundation.SourceControl.WebApi.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function ToGitChanges ( _
commitChanges As IEnumerable(Of TfsGitCommitChange), _
top As Integer, _
skip As Integer, _
<OutAttribute> ByRef allChangesIncluded As Boolean _
) As IList(Of GitChange)
public static IList<GitChange> ToGitChanges(
this IEnumerable<TfsGitCommitChange> commitChanges,
int top,
int skip,
out bool allChangesIncluded
)
[ExtensionAttribute]
public:
static IList<GitChange^>^ ToGitChanges(
IEnumerable<TfsGitCommitChange^>^ commitChanges,
int top,
int skip,
[OutAttribute] bool% allChangesIncluded
)
static member ToGitChanges :
commitChanges:IEnumerable<TfsGitCommitChange> *
top:int *
skip:int *
allChangesIncluded:bool byref -> IList<GitChange>
public static function ToGitChanges(
commitChanges : IEnumerable<TfsGitCommitChange>,
top : int,
skip : int,
allChangesIncluded : boolean
) : IList<GitChange>
Parameters
- commitChanges
Type: System.Collections.Generic.IEnumerable<TfsGitCommitChange>
- top
Type: System.Int32
- skip
Type: System.Int32
- allChangesIncluded
Type: System.Boolean
Return Value
Type: System.Collections.Generic.IList<GitChange>
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable<TfsGitCommitChange>. 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.