UseStaticMapperAttribute
Namespace: Riok.Mapperly.Abstractions
Considers all static mapping methods provided by the type.
public sealed class UseStaticMapperAttribute : System.Attribute
Inheritance Object → Attribute → UseStaticMapperAttribute
Attributes AttributeUsageAttribute, ConditionalAttribute
Properties
TypeId
public object TypeId { get; }
Property Value
Constructors
UseStaticMapperAttribute(Type)
Considers all static mapping methods provided by the mapperType
.
public UseStaticMapperAttribute(Type mapperType)
Parameters
mapperType
Type
The type of which mapping methods will be included.