Table of Contents

Class BeforeForgeAttribute

Namespace
ForgeMap
Assembly
ForgeMap.Abstractions.dll

Calls a method before forging begins for pre-processing or validation.

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

Constructors

BeforeForgeAttribute(string)

Creates a new BeforeForgeAttribute.

public BeforeForgeAttribute(string methodName)

Parameters

methodName string

The name of the method to call before forging.

Properties

MethodName

Gets the name of the method to call before forging.

public string MethodName { get; }

Property Value

string