ToAsciiEncodedString Method
Definition
- Namespace
- Cuemon
- Assemblies
- Cuemon.Core.dll
ToAsciiEncodedString(IDecorator<string>, Action<EncodingOptions>)
Encodes all the characters in the enclosed string of the specified decorator to its ASCII encoded variant.
public static string ToAsciiEncodedString(this IDecorator<string> decorator, Action<EncodingOptions> setup = null)
Parameters
decoratorIDecorator<string>The IDecorator<T> to extend.
setupAction<EncodingOptions>The EncodingOptions which may be configured.
Returns
Exceptions
- ArgumentNullException
decoratorcannot be null.