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
-
objectAttributeForgeWithAttribute
Constructors
ForgeWithAttribute(string, string)
Creates a new ForgeWithAttribute.
public ForgeWithAttribute(string destinationProperty, string forgingMethodName)
Parameters
destinationPropertystringThe name of the destination property.
forgingMethodNamestringThe 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