Skip to main content

UseStaticMapperAttribute

Namespace: Riok.Mapperly.Abstractions

Considers all static mapping methods provided by the type.

public sealed class UseStaticMapperAttribute : System.Attribute

Inheritance ObjectAttributeUseStaticMapperAttribute
Attributes AttributeUsageAttribute, ConditionalAttribute

Properties

TypeId

public object TypeId { get; }

Property Value

Object

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.