Skip to main content

MapperRequiredMappingAttribute

Namespace: Riok.Mapperly.Abstractions

Defines the strategy used when emitting warnings for unmapped members.

public sealed class MapperRequiredMappingAttribute : System.Attribute

Inheritance ObjectAttributeMapperRequiredMappingAttribute
Attributes AttributeUsageAttribute, ConditionalAttribute

Properties

RequiredMappingStrategy

The strategy used when emitting warnings for unmapped members.

public RequiredMappingStrategy RequiredMappingStrategy { get; }

Property Value

RequiredMappingStrategy

TypeId

public object TypeId { get; }

Property Value

Object

Constructors

MapperRequiredMappingAttribute(RequiredMappingStrategy)

Defines the strategy used when emitting warnings for unmapped members.

public MapperRequiredMappingAttribute(RequiredMappingStrategy requiredMappingStrategy)

Parameters

requiredMappingStrategy RequiredMappingStrategy
The strategy used when emitting warnings for unmapped members.