Interface IOpenMappingExpression
- Namespace
- Mapperion
- Assembly
- Mapperion.dll
Configures a map declared with types rather than type arguments, which is how an open
generic pair such as Page<> to PageDto<> is declared.
public interface IOpenMappingExpression
Remarks
Only the options that do not need the types to be known appear here. A member cannot be configured with an expression against a type that has no type arguments yet, so members are left to the conventions once the pair is closed, and the one thing that can be said in advance is which of them to leave alone.
Methods
- IgnoreMember(string)
Leaves a destination member unmapped, by name.
- MaxDepth(int)
Limits how deep recursive maps descend.
- PreserveReferences()
Tracks already-mapped instances so reference cycles terminate.
- ValidateMemberList(MemberListValidation)
Sets which side must be fully covered for this map to validate.