public interface IObjectConverter<TSource,TTarget>
Modifier and Type | Method and Description |
---|---|
TTarget |
convert(TSource source)
Converts the given source object into the target representation.
|
TTarget convert(TSource source)
source
- The object to be converted (may be null).ConversionRuntimeException
- For any problem that prevented successful object conversion.