IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > EnumerableFns Class : Repeat<T> Method |
'Declaration
<IteratorStateMachineAttribute(IdeaBlade.Core.EnumerableFns+d__11`1[T])> <ExtensionAttribute()> Public Shared Function Repeat(Of T)( _ ByVal items As IEnumerable(Of T), _ ByVal count As Integer _ ) As IEnumerable(Of T)
'Usage
Dim items As IEnumerable(Of T) Dim count As Integer Dim value As IEnumerable(Of T) value = EnumerableFns.Repeat(Of T)(items, count)
[IteratorStateMachine(IdeaBlade.Core.EnumerableFns+d__11`1[T])] [Extension()] public static IEnumerable<T> Repeat<T>( IEnumerable<T> items, int count )
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