Skip to main content

MapperIgnoreAttribute

Namespace: Riok.Mapperly.Abstractions

Ignores a member or method from the mapping.

public sealed class MapperIgnoreAttribute : System.Attribute

Inheritance Object → Attribute → MapperIgnoreAttribute
Attributes AttributeUsageAttribute, ConditionalAttribute

Remarks:

When applied to a method, prevents the method from being used as a mapping method. This is useful for excluding specific static or instance methods from being used as mappers.

Properties​

TypeId​

public object TypeId { get; }

Property Value​

Object

Constructors​

MapperIgnoreAttribute()​

public MapperIgnoreAttribute()