ArcFM Engine Developer Guide
RandomOrder<T> Method


Taken a list of items and reorder in random(ish) order. Uses the Fisher-Yates shuffle.
Syntax
'Declaration
 
<ExtensionAttribute()>
Public Shared Sub RandomOrder(Of T)( _
   ByVal list As IList(Of T) _
) 
'Usage
 
Dim list As IList(Of T)
 
EnumerableExtensions.RandomOrder(Of T)(list)
[Extension()]
public static void RandomOrder<T>( 
   IList<T> list
)

Parameters

list

Type Parameters

T
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

EnumerableExtensions Class
EnumerableExtensions Members

 

 


Send Comment