Table of Contents

Class StringToEncodingConverter

Namespace
Steeltoe.Common.Converter
Assembly
Steeltoe.Common.dll
public class StringToEncodingConverter : AbstractConverter<string, Encoding>, IConditionalGenericConverter, IConditionalConverter, IGenericConverter, IConverter<string, Encoding>
Inheritance
StringToEncodingConverter
Implements
Inherited Members

Methods

Convert(string)

Convert the source object of type S to a target object of type T.

public override Encoding Convert(string source)

Parameters

source string

the source object to convert; can not be null

Returns

Encoding

the converted object which must be type T