public void ConvertUsing(IAsyncTypeConverter <TSource, TDestination> converter) { if (_mapping is null) { throw new InvalidOperationException("Needs to be created from a valid mapping expression."); } _mapping.ConvertUsing(new AsyncTypeConverter(converter)); }
public AsyncTypeConverter(IAsyncTypeConverter <TSource, TDestination> typeConverter) { _typeConverter = typeConverter; }