Table of Contents

Class ForgeFromAttribute

Namespace
ForgeMap
Assembly
ForgeMap.Abstractions.dll

Maps a destination property using a custom resolver method.

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

Constructors

ForgeFromAttribute(string, string)

Creates a new ForgeFromAttribute.

public ForgeFromAttribute(string destinationProperty, string resolverMethodName)

Parameters

destinationProperty string

The name of the destination property.

resolverMethodName string

The name of the resolver method to call.

Properties

DestinationProperty

Gets the name of the destination property.

public string DestinationProperty { get; }

Property Value

string

ResolverMethodName

Gets the name of the resolver method to call.

public string ResolverMethodName { get; }

Property Value

string