Skip to main content

MapperIgnoreSourceValueAttribute

Namespace: Riok.Mapperly.Abstractions

Ignores a source enum value from the mapping.

public sealed class MapperIgnoreSourceValueAttribute : System.Attribute

Inheritance ObjectAttributeMapperIgnoreSourceValueAttribute

Properties

SourceValue

Gets the source enum value which should be ignored from the mapping.

public Enum SourceValue { get; }

Property Value

Enum

TypeId

public object TypeId { get; }

Property Value

Object

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.