Table of Contents

ToEnumerable Method

Definition

Namespace
Cuemon
Assemblies
Cuemon.Core.dll
Source
src/Cuemon.Core/Extensions/CharDecoratorExtensions.cs

ToEnumerable(IDecorator<IEnumerable<char>>)

Converts the enclosed IEnumerable<T> of the decorator to its equivalent IEnumerable<T>.

public static IEnumerable<string> ToEnumerable(this IDecorator<IEnumerable<char>> decorator)

Parameters

decorator IDecorator<IEnumerable<char>>

The IDecorator<T> to extend.

Returns

IEnumerable<string>

An IEnumerable<T> equivalent to the enclosed IEnumerable<T> of the decorator.

Exceptions

ArgumentNullException

decorator cannot be null.