Miner.Responder.Shared.Extensions Namespace > EnumerableExtensions Class : LimitGroupSize<T> Method |
'Declaration
<System.Runtime.CompilerServices.ExtensionAttribute()> Public Shared Function LimitGroupSize(Of T)( _ ByVal list As System.Collections.Generic.ICollection(Of T), _ ByVal maxSize As System.Integer _ ) As System.Collections.Generic.IEnumerable(Of List(Of T))
'Usage
Dim list As System.Collections.Generic.ICollection(Of T) Dim maxSize As System.Integer Dim value As System.Collections.Generic.IEnumerable(Of List(Of T)) value = EnumerableExtensions.LimitGroupSize(Of T)(list, maxSize)
[System.Runtime.CompilerServices.Extension()] public static System.Collections.Generic.IEnumerable<List<T>> LimitGroupSize<T>( System.Collections.Generic.ICollection<T> list, System.int maxSize )
public function LimitGroupSize( list: System.Collections.Generic.ICollection; maxSize: System.Integer ): System.Collections.Generic.IEnumerable; static;
System.Runtime.CompilerServices.ExtensionAttribute() public static function LimitGroupSize( list : System.Collections.Generic.ICollection, maxSize : System.int ) : System.Collections.Generic.IEnumerable;
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2