IgnoreObsoleteMembersStrategy
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 Object → ValueType → Enum → IgnoreObsoleteMembersStrategy
Implements IComparable, IFormattable, IConvertible
Fields
Name | Value | Description |
---|---|---|
None | 0 | Maps ObsoleteAttribute marked members. |
Both | -1 | Will not map ObsoleteAttribute marked source or target members. |
Source | 1 | Ignores source ObsoleteAttribute marked members. |
Target | 2 | Ignores target ObsoleteAttribute marked members. |