EnumerableExtensions
Static members
Static member | Description |
AddElement(list, item)
Signature: (list:IList<'T> * item:'T) -> IList<'T>
Type parameters: 'T |
|
AddElementIf(list, condition, item)
Signature: (list:IList<'T> * condition:bool * item:'T) -> IList<'T>
Type parameters: 'T |
|
AddElementRange(list, items)
Signature: (list:IList<'T> * items:IEnumerable<'T>) -> IList<'T>
Type parameters: 'T |
|
AddElementRangeIf(...)
Signature: (list:IList<'T> * condition:bool * items:IEnumerable<'T>) -> IList<'T>
Type parameters: 'T |
|
AddRange(oc, collection)
Signature: (oc:ObservableCollection<'T> * collection:IEnumerable<'T>) -> unit
Type parameters: 'T |
|
Combinations(source, select, repetition)
Signature: (source:IEnumerable<'T> * select:int * repetition:bool) -> IEnumerable<IEnumerable<'T>>
Type parameters: 'T |
|
Each(elements, action)
Signature: (elements:IEnumerable<'T> * action:Action<'T>) -> unit
Type parameters: 'T |
|
GetRandomItem(input)
Signature: input:IList<'T> -> 'T
Type parameters: 'T |
|
IndicesOf(obj, value)
Signature: (obj:IEnumerable<'T> * value:'T) -> IEnumerable<int>
Type parameters: 'T |
|
IndicesOf(obj, value)
Signature: (obj:IEnumerable<'T> * value:IEnumerable<'T>) -> IEnumerable<int>
Type parameters: 'T |
|
IsNullOrEmpty(source)
Signature: source:IEnumerable<'T> -> bool
Type parameters: 'T |
|
Last(list)
Signature: list:IList<'T> -> 'T
Type parameters: 'T |
|
RandomElements(collection, count)
Signature: (collection:IEnumerable<'T> * count:int) -> IEnumerable<'T>
Type parameters: 'T |
|
RemoveDuplicates(list, Predicate)
Signature: (list:ICollection<'T> * Predicate:Func<'T,int>) -> IEnumerable<'T>
Type parameters: 'T |
|
Reverse(items)
Signature: items:IEnumerable<'T> -> IEnumerable<'T>
Type parameters: 'T |
|
SelectRandom(sequence)
Signature: sequence:IEnumerable<'T> -> 'T
Type parameters: 'T |
|
SetAllValues(source, value)
Signature: (source:IEnumerable<'T> * value:'T) -> unit
Type parameters: 'T |
|
Shuffle(list)
Signature: (list:'T []) -> 'T []
Type parameters: 'T |
|
Slice(collection, start, end)
Signature: (collection:IEnumerable<'T> * start:int * end:int) -> IEnumerable<'T>
Type parameters: 'T |
|
TakeUntil(collection, endCondition)
Signature: (collection:IEnumerable<'T> * endCondition:Predicate<'T>) -> IEnumerable<'T>
Type parameters: 'T |
|
To(first, last)
Signature: (first:char * last:char) -> IEnumerable<char>
|
|
ToEnumerable(enumerator)
Signature: enumerator:IEnumerator<'T> -> IEnumerable<'T>
Type parameters: 'T |
|
ToHtmlTable(list, tableSyle)
Signature: (list:IEnumerable<'T> * tableSyle:string) -> string
Type parameters: 'T |
|
ToString(list, separator)
Signature: (list:IEnumerable<'T> * separator:string) -> string
Type parameters: 'T |
|
Transpose(values)
Signature: values:IEnumerable<IEnumerable<'T>> -> IEnumerable<IEnumerable<'T>>
Type parameters: 'T |