Skip to main content

RequiredMappingStrategy

Namespace: Riok.Mapperly.Abstractions

Defines the strategy used when emitting warnings for unmapped members.

public enum RequiredMappingStrategy

Inheritance ObjectValueTypeEnumRequiredMappingStrategy
Implements IComparable, IFormattable, IConvertible

Fields

NameValueDescription
Both-1Warnings are emitted for both unmapped source and target members.
None0Warnings are not emitted for unmapped source or target members.
Source1Warnings are emitted for unmapped source members but not for target members.
Target2Warnings are emitted for unmapped target members but not for source members.