GitModelExtensions.ToGitCommitChanges 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 ToGitCommitChanges ( _
commitChanges As IEnumerable(Of TfsGitCommitChange), _
maxNumberOfChanges As Integer, _
skipCount As Integer, _
<OutAttribute> ByRef allChangesIncluded As Boolean _
) As GitCommitChanges
public static GitCommitChanges ToGitCommitChanges(
this IEnumerable<TfsGitCommitChange> commitChanges,
int maxNumberOfChanges,
int skipCount,
out bool allChangesIncluded
)
[ExtensionAttribute]
public:
static GitCommitChanges^ ToGitCommitChanges(
IEnumerable<TfsGitCommitChange^>^ commitChanges,
int maxNumberOfChanges,
int skipCount,
[OutAttribute] bool% allChangesIncluded
)
static member ToGitCommitChanges :
commitChanges:IEnumerable<TfsGitCommitChange> *
maxNumberOfChanges:int *
skipCount:int *
allChangesIncluded:bool byref -> GitCommitChanges
public static function ToGitCommitChanges(
commitChanges : IEnumerable<TfsGitCommitChange>,
maxNumberOfChanges : int,
skipCount : int,
allChangesIncluded : boolean
) : GitCommitChanges
Parameters
- commitChanges
Type: System.Collections.Generic.IEnumerable<TfsGitCommitChange>
- maxNumberOfChanges
Type: System.Int32
- skipCount
Type: System.Int32
- allChangesIncluded
Type: System.Boolean
Return Value
Type: GitCommitChanges
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.