Table of Contents

ToStringEquivalent Method

Definition

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

ToStringEquivalent(IDecorator<IEnumerable<char>>)

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

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

Parameters

decorator IDecorator<IEnumerable<char>>

The IDecorator<T> to extend.

Returns

string

A string equivalent to the enclosed IEnumerable<T> of the decorator.

Exceptions

ArgumentNullException

decorator cannot be null.