Skip to content

It is an unofficial mapping structure based on dynamic configuration prepared for AutoMapper.

License

Notifications You must be signed in to change notification settings

kenanbasdemir/Kb.AutoMapper.Configuration

Repository files navigation

Kb.AutoMapper.Configuration

It is an unofficial mapping structure based on dynamic configuration prepared for AutoMapper.

Run

dotnet test

Usage

// Configuration json.
string configJson = "";

var mapperConfiguration = new MapperConfiguration(conf =>
  {
      MappingConfig config = JsonSerializer.Deserialize<MappingConfig>(configJson)!;
      conf.AddProfile(new ConfigurationProfile(config));
  });
  
var mapper = mapperConfiguration.CreateMapper();

About

It is an unofficial mapping structure based on dynamic configuration prepared for AutoMapper.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages