Interface IConverter<TSrc, TDst>
- Namespace
- Yarhl.FileFormat
- Assembly
- Yarhl.dll
Format converter interface.
public interface IConverter<in TSrc, out TDst> : IConverter
Type Parameters
TSrc
Source format.
TDst
Destination format.
Methods
Convert(TSrc)
Converts the specified source into the given type.
TDst Convert(TSrc source)
Parameters
source
TSrcSource format to convert.
Returns
- TDst
The converted source.