Diffusion .NET Classic API - Core and Common  5.9.4
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
PushTechnology.DiffusionCore.ExtensionMethods.List Class Reference

More...

Static Public Member Functions

static List< T > RetainAll< T > (this List< T > list, List< T > collection)
 
static IEnumerable< T > AsRandom< T > (this IList< T > list)
 Randomises the order of any IList collection. More...
 
static string JoinFormat< T > (this IEnumerable< T > list, string separator, string formatString)
 Returns a string representation of this collection. The string representation consists of a list of the collection's elements in the order they are returned by its iterator, enclosed in square brackets ("[]"). Adjacent elements are separated by the characters ", " (comma and space). More...
 

Detailed Description

Member Function Documentation

static IEnumerable<T> PushTechnology.DiffusionCore.ExtensionMethods.List.AsRandom< T > ( this IList< T >  list)
static

Randomises the order of any IList collection.

Template Parameters
T
Parameters
list
Returns
static string PushTechnology.DiffusionCore.ExtensionMethods.List.JoinFormat< T > ( this IEnumerable< T >  list,
string  separator,
string  formatString 
)
static

Returns a string representation of this collection. The string representation consists of a list of the collection's elements in the order they are returned by its iterator, enclosed in square brackets ("[]"). Adjacent elements are separated by the characters ", " (comma and space).

Parameters
list
separator
formatString
Returns
static List<T> PushTechnology.DiffusionCore.ExtensionMethods.List.RetainAll< T > ( this List< T >  list,
List< T >  collection 
)
static

Template Parameters
T
Parameters
list
collection
Returns