CollectionExtensions.AsSmartEnumerable Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

AsSmartEnumerable(IEnumerable)

Extension method to make it easier to create a SmartEnumerable.

public static SmartEnumerable<T> AsSmartEnumerable<T>(this IEnumerable<T> source)

Parameters

source
System.Collections.Generic.IEnumerable<>

Source enumerable

Returns

Weavy.Core.Collections.SmartEnumerable<>

A new SmartEnumerable of the appropriate type