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 Object → Attribute → IncludeMappingConfigurationAttribute
Attributes NullableContextAttribute, NullableAttribute, AttributeUsageAttribute, ConditionalAttribute
Properties
Name
Gets the name of the mapping configuration to include.
public string Name { get; }
Property Value
TypeId
public object TypeId { get; }
Property Value
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.