NamedMappingAttribute
Namespace: Riok.Mapperly.Abstractions
Specifies a custom name for the mapping. This can be used to reference in other mapping configurations.
public sealed class NamedMappingAttribute : System.Attribute
Inheritance Object → Attribute → NamedMappingAttribute
Attributes NullableContextAttribute, NullableAttribute, AttributeUsageAttribute, ConditionalAttribute
Properties
Name
Gets the custom name specified for the mapping.
public string Name { get; }
Property Value
TypeId
public object TypeId { get; }
Property Value
Constructors
NamedMappingAttribute(String)
Specifies a custom name for the mapping. This can be used to reference in other mapping configurations.
public NamedMappingAttribute(string name)
Parameters
name
String