Table of Contents

Class ForgeWithAttribute

Namespace
ForgeMap
Assembly
ForgeMap.Abstractions.dll

Uses another forging method for a nested property.

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

Constructors

ForgeWithAttribute(string, string)

Creates a new ForgeWithAttribute.

public ForgeWithAttribute(string destinationProperty, string forgingMethodName)

Parameters

destinationProperty string

The name of the destination property.

forgingMethodName string

The name of the forging method to use for the nested object.

Properties

DestinationProperty

Gets the name of the destination property.

public string DestinationProperty { get; }

Property Value

string

ForgingMethodName

Gets the name of the forging method to use.

public string ForgingMethodName { get; }

Property Value

string