MapperIgnoreTargetAttribute
Namespace: Riok.Mapperly.Abstractions
Ignores a target property from the mapping.
public sealed class MapperIgnoreTargetAttribute : System.Attribute
Inheritance Object → Attribute → MapperIgnoreTargetAttribute
Attributes NullableContextAttribute, NullableAttribute, AttributeUsageAttribute, ConditionalAttribute
Properties
Target
Gets the target property name which should be ignored from the mapping.
public string Target { get; }
Property Value
TypeId
public object TypeId { get; }
Property Value
Constructors
MapperIgnoreTargetAttribute(String)
Ignores the specified target property from the mapping.
public MapperIgnoreTargetAttribute(string target)
Parameters
target
String
The name of the target property to ignore. The use of nameof()
is encouraged.