Skip to main content


Namespace: Riok.Mapperly.Abstractions

Defines the strategy to use when mapping members marked with ObsoleteAttribute. Note that MapPropertyAttribute will always map ObsoleteAttribute marked members, even if they are ignored.

public enum IgnoreObsoleteMembersStrategy

Inheritance ObjectValueTypeEnumIgnoreObsoleteMembersStrategy
Implements IComparable, IFormattable, IConvertible


None0Maps ObsoleteAttribute marked members.
Both-1Will not map ObsoleteAttribute marked source or target members.
Source1Ignores source ObsoleteAttribute marked members.
Target2Ignores target ObsoleteAttribute marked members.