Skip to main content

MapperIgnoreObsoleteMembersAttribute

Namespace: Riok.Mapperly.Abstractions

Specifies options for obsolete ignoring strategy.

public sealed class MapperIgnoreObsoleteMembersAttribute : System.Attribute

Inheritance ObjectAttributeMapperIgnoreObsoleteMembersAttribute
Attributes AttributeUsageAttribute, ConditionalAttribute

Properties

IgnoreObsoleteStrategy

The strategy used to map ObsoleteAttribute marked members.

public IgnoreObsoleteMembersStrategy IgnoreObsoleteStrategy { get; }

Property Value

IgnoreObsoleteMembersStrategy

TypeId

public object TypeId { get; }

Property Value

Object

Constructors

MapperIgnoreObsoleteMembersAttribute(IgnoreObsoleteMembersStrategy)

Specifies options for obsolete ignoring strategy.

public MapperIgnoreObsoleteMembersAttribute(IgnoreObsoleteMembersStrategy ignoreObsoleteStrategy)

Parameters

ignoreObsoleteStrategy IgnoreObsoleteMembersStrategy
The strategy to be used to map ObsoleteAttribute marked members. Defaults to IgnoreObsoleteMembersStrategy.Both.