ContextQMD
Libraries
Rankings
Queue
About
Log in
Get started
Open menu
Back to Libraries
Mapster
mapster
GitHub
mapster
mapstermapper/mapster
mapstermappermapster
mapstermapper
Homepage
5 versions
47 pages (10.0.11)
4 aliases
5
Versions
47
Pages (10.0.11)
4
Aliases
Pages
Versions
Usage
10.0.11
▼
stable
MapsterMapper Mapster API Documentation
github.com/MapsterMapper/Mapster/blob/v10.0.11/...
184 B
Full page
References
Mapper instance (for dependency injection)
Builder (for complex mapping)
Config
Config scanning
+5 more
github.com/MapsterMapper/Mapster/blob/v10.0.11/...
11.3 KB
Full page
Benchmark results
Benchmark scenarios
FlatTypes
ComplexTypes
RecursiveTypes
+8 more
github.com/MapsterMapper/Mapster/blob/v10.0.11/...
10.1 KB
Full page
Configuration - Config for nested mapping
github.com/MapsterMapper/Mapster/blob/v10.0.11/...
1.7 KB
Full page
Configuration - Inheritance
Explicit inheritance
Include derived types
github.com/MapsterMapper/Mapster/blob/v10.0.11/...
1.5 KB
Full page
Configuration - Config Instance
`ForType` Configuration Methods
`Adapt` Configuration Methods
`Map` Configuration Methods
Cloning `Config` Instance
+1 more
github.com/MapsterMapper/Mapster/blob/v10.0.11/...
2.0 KB
Full page
Configuration - Location
Keep together with mapping
Using Fork in generic class or method
In separated assemblies
Scan method
+2 more
github.com/MapsterMapper/Mapster/blob/v10.0.11/...
3.8 KB
Full page
Configuration - Overview
Global setting
Rule based settings
Destination type only
Open generics
github.com/MapsterMapper/Mapster/blob/v10.0.11/...
3.5 KB
Full page
Configuration - Validation and Compilation
Checking Destination Member
Validating Mappings
Config Compilation
github.com/MapsterMapper/Mapster/blob/v10.0.11/...
1.8 KB
Full page
Mapping - Basic Usages
Mapping to an existing object
Queryable Extensions
github.com/MapsterMapper/Mapster/blob/v10.0.11/...
962 B
Full page
Mapping - Collections
github.com/MapsterMapper/Mapster/blob/v10.0.11/...
296 B
Full page
Mapping - Mappable Objects
github.com/MapsterMapper/Mapster/blob/v10.0.11/...
1.2 KB
Full page
Mapping - Primitive Types
Enums
Strings
github.com/MapsterMapper/Mapster/blob/v10.0.11/...
1.4 KB
Full page
Mapping - Record Types
Features and Limitations:
Using default value in constuctor param
MultiConstructor Record types
Support additional mapping features:
github.com/MapsterMapper/Mapster/blob/v10.0.11/...
2.5 KB
Full page
Mapping - Mappers
Mapper instance
Builder
Code generation
github.com/MapsterMapper/Mapster/blob/v10.0.11/...
1.4 KB
Full page
Mapping - IMapFrom Interface
github.com/MapsterMapper/Mapster/blob/v10.0.11/...
987 B
Full page
Packages - Mapster Async Support
Mapping
github.com/MapsterMapper/Mapster/blob/v10.0.11/...
715 B
Full page
Packages - Dependency Injection Support
Usage
Mapping configuration
Mapping
github.com/MapsterMapper/Mapster/blob/v10.0.11/...
1.3 KB
Full page
Packages - EF 6 and EF Core Support
[EntityFramework Core support](#tab/efcore)
Compatibility
Usage
EF Core `ProjectToType`
github.com/MapsterMapper/Mapster/blob/v10.0.11/...
1.2 KB
Full page
Packages - Expression Debugging
Using internal classes or members
Get mapping script
Specifics for Visual Studio on Mac
Performance notes
github.com/MapsterMapper/Mapster/blob/v10.0.11/...
1.5 KB
Full page
Packages - Fast Expression Compiler Support
github.com/MapsterMapper/Mapster/blob/v10.0.11/...
974 B
Full page
Packages - Immutable Support
Usage
github.com/MapsterMapper/Mapster/blob/v10.0.11/...
700 B
Full page
Packages - Json.net Support
Usage
github.com/MapsterMapper/Mapster/blob/v10.0.11/...
510 B
Full page
Settings - Before and After mapping
After mapping action
Code generation
Single line statement
Multiple statements
+1 more
github.com/MapsterMapper/Mapster/blob/v10.0.11/...
3.0 KB
Full page
Settings - Constructor mapping
Map to constructor
github.com/MapsterMapper/Mapster/blob/v10.0.11/...
2.2 KB
Full page
Settings - Custom conversion logic
Custom mapping data to existing object
Custom actions after mapping
github.com/MapsterMapper/Mapster/blob/v10.0.11/...
1.6 KB
Full page
Settings - Custom Mapping
Mapping with condition
Mapping to non-public members
Deep destination property
Null propagation
+1 more
github.com/MapsterMapper/Mapster/blob/v10.0.11/...
3.2 KB
Full page
Settings - Ignoring members
Rule based ignore with `IgnoreMember`
IgnoreNonMapped
Using the `AdaptIgnore` attribute
Ignore conditionally with `IgnoreIf` Extension Method
+1 more
github.com/MapsterMapper/Mapster/blob/v10.0.11/...
2.1 KB
Full page
Settings - Mapping non-public members
`AdaptMember` attribute
`Map`
`IncludeMember`
Note for non-public member mapping
github.com/MapsterMapper/Mapster/blob/v10.0.11/...
1.4 KB
Full page
Settings - Mapping readonly properties
Using `UseDestinationValue` attribute
Convention based setup using `UseDestinationValue` Extension Method
Using `UseDestinationValue` [v10.0.4+]
github.com/MapsterMapper/Mapster/blob/v10.0.11/...
1.2 KB
Full page
1–30 of 47
1
2
Page 1