MapperIgnoreTargetValueAttribute
Namespace: Riok.Mapperly.Abstractions
Ignores a target enum value from the mapping.
public sealed class MapperIgnoreTargetValueAttribute : System.Attribute
Inheritance Object → Attribute → MapperIgnoreTargetValueAttribute
Attributes NullableContextAttribute, NullableAttribute, AttributeUsageAttribute, ConditionalAttribute
Properties
TargetValue
Gets the target enum value which should be ignored from the mapping.
public Enum TargetValue { get; }
Property Value
TypeId
public object TypeId { get; }
Property Value
Constructors
MapperIgnoreTargetValueAttribute(Object)
Ignores the specified target enum value from the mapping.
public MapperIgnoreTargetValueAttribute(object target)
Parameters
target
Object
The target enum value to ignore.