We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
src.Adapt<Dest>()
src.Adapt(dest)
query.ProjectToType<Dest>()
IMapper mapper = new Mapper()
mapper.Map<Dest>(src)
mapper.Map(src, dest)
src.BuildAdapter()
mapper.From(src)
.ForkConfig(config => ...)
.AddParameters(name, value)
.AdaptToType<Dest>()
.AdaptTo(dest)
.CreateMapExpression<Dest>()
.CreateMapToTargetExpression<Dest>()
.CreateProjectionExpression<Dest>()
TypeAdapterConfig.GlobalSettings
var config = new TypeAdapterConfig()
src.Adapt<Dest>(config)
new Mapper(config)
src.BuildAdapter(config)
config.RequireDestinationMemberSource
config.RequireExplicitMapping
config.AllowImplicitDestinationInheritance
config.AllowImplicitSourceInheritance
config.SelfContainedCodeGeneration
config.Compile()
config.CompileProjection()
config.Clone()
config.Fork(forked => ...)
IRegister
config.Scan(...assemblies)
config.Apply(...registers)
config.Default
TypeAdapterConfig<Src, Dest>.NewConfig()
config.NewConfig<Src, Dest>()
TypeAdapterConfig<Src, Dest>.ForType()
config.ForType<Src, Dest>()
config.ForType(typeof(GenericPoco<>),typeof(GenericDto<>))
config.When((src, dest, mapType) => ...)
config.ForDestinationType<Dest>()
AddDestinationTransform
AfterMapping
AvoidInlineMapping
BeforeMapping
ConstructUsing
EnableNonPublicMembers
EnumMappingStrategy
Fork
GetMemberName
Ignore
IgnoreAttribute
IgnoreIf
IgnoreMember
IgnoreNonMapped
Map
IgnoreNullValues
Include
IncludeAttribute
IncludeMember
Inherits
MapToConstructor
MapToTargetWith
MapWith
MaxDepth
NameMatchingStrategy
PreserveReference
ShallowCopyForSameType
TwoWays
Unflattening
UseDestinationValue
[AdaptMember(name)]
[AdaptIgnore(side)]
[UseDestinationValue]
[AdaptTo]
[AdaptFrom]
[AdaptTwoWays]
[Mapper]
[GenerateMapper]
[PropertyType]
setting.AfterMappingAsync
builder.AdaptToTypeAsync
config.Compiler = exp => exp.CompileWithDebugInfo()
MapContext.Current.GetService<IService>()
builder.EntityFromContext
config.Compiler = exp => exp.CompileFast()
config.EnableImmutableMapping()
config.EnableJsonMapping()
dotnet mapster
t4
There was an error while loading. Please reload this page.