Table of Contents

Class EnumerableExtns

Namespace
Breeze.Core
Assembly
Breeze.Core.dll

Collection helpers, chiefly an order-sensitive hash code for sequences.

public static class EnumerableExtns
Inheritance
EnumerableExtns
Inherited Members

Methods

GetAggregateHashCode(IEnumerable)

Returns a hashcode for a collection that uses a similar algorithm to that used by the .NET Tuple class. Order matters.

public static int GetAggregateHashCode(this IEnumerable items)

Parameters

items IEnumerable

Returns

int

ToAggregateString(IEnumerable, string)

Concatenates the string version of each element in a collection using the delimiter provided.

public static string ToAggregateString(this IEnumerable items, string delimiter)

Parameters

items IEnumerable

The enumerated items whose string formated elements will be concatenated

delimiter string

Delimiter

Returns

string

A delimited string