Table of Contents

Class IncludeBaseForgeAttribute

Namespace
ForgeMap
Assembly
ForgeMap.Abstractions.dll

Inherits attribute-based configuration (IgnoreAttribute, ForgePropertyAttribute, ForgeFromAttribute, ForgeWithAttribute) from a base forge method that maps BaseSourceTypeBaseDestinationType. The base forge method must exist in the same forger class.

[AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
public sealed class IncludeBaseForgeAttribute : Attribute
Inheritance
object
Attribute
IncludeBaseForgeAttribute

Constructors

IncludeBaseForgeAttribute(Type, Type)

public IncludeBaseForgeAttribute(Type baseSourceType, Type baseDestinationType)

Parameters

baseSourceType Type

The source type of the base forge method.

baseDestinationType Type

The destination type of the base forge method.

Properties

BaseDestinationType

Gets the destination type of the base forge method.

public Type BaseDestinationType { get; }

Property Value

Type

BaseSourceType

Gets the source type of the base forge method.

public Type BaseSourceType { get; }

Property Value

Type