Ejemplo n.º 1
0
        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));
        }
Ejemplo n.º 2
0
 public AsyncTypeConverter(IAsyncTypeConverter <TSource, TDestination> typeConverter)
 {
     _typeConverter = typeConverter;
 }