Skip to content
This repository has been archived by the owner on Nov 26, 2022. It is now read-only.

valbers/MappingGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A compile-time object mapping library

Object mapping is a tedious job, you have to set many properties of an object in your own domain A using many properties' values of an object from an external domain B.

public InternalObject Work()
{
  var externalObject = _service.GetExternalObject();
  var internalObject = new InternalObject
  {
    A = externalObject.A,
    B = externalObject.B,
    //...
    Z = externalObject.Z,
  }
}

Mapping Generator relieves you from the pain of writing such a dull code by generating mapping code for you, while allowing you to customize it directly at the code that does the mapping.

About

A mapping code generator for C#

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages