public Mapper( IMapperOptions options, IMapSerializer serializer, IMapDeserializer deserializer, IMapConfig config) { this._options = options; this._serializer = serializer; this._deserializer = deserializer; this._config = config; }
public MapMedia( IMapTable table, IMapDeserializer deserializer, IMapperOptions options, IMapConfig config) { this._table = table; this._deserializer = deserializer; this._options = options; this._config = config; }
public static IMapperBuilder AddMapping(this IServiceCollection services, IMapperOptions options) { if (options == null) { throw new ArgumentNullException(nameof(options)); } var builder = new MapperBuilder(options); services.AddSingleton <IMapper>(p => builder.Build()); return(builder); }