Table of Contents

Interface IConverter<S, T>

Namespace
Steeltoe.Common.Converter
Assembly
Steeltoe.Common.Abstractions.dll

A converter converts from a source object of type S to a target object of type T.

public interface IConverter<in S, out T>

Type Parameters

S

type of the source object

T

type of the target object

Methods

Convert(S)

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

T Convert(S source)

Parameters

source S

the source object to convert; can not be null

Returns

T

the converted object which must be type T