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