Skip to main content

IncludeMappingConfigurationAttribute

Namespace: Riok.Mapperly.Abstractions

An attribute used to include the mapping configuration of another mapping method in the attributed method. Use the other mapping's method name to identify the configuration.

public sealed class IncludeMappingConfigurationAttribute : System.Attribute

Inheritance ObjectAttributeIncludeMappingConfigurationAttribute
Attributes NullableContextAttribute, NullableAttribute, AttributeUsageAttribute, ConditionalAttribute

Properties

Name

Gets the name of the mapping configuration to include.

public string Name { get; }

Property Value

String

TypeId

public object TypeId { get; }

Property Value

Object

Constructors

IncludeMappingConfigurationAttribute(String)

An attribute used to include the mapping configuration of another mapping method in the attributed method. Use the other mapping's method name to identify the configuration.

public IncludeMappingConfigurationAttribute(string name)

Parameters

name String
The name of the mapping configuration to include. Use the method name of the other mapping method.