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
-
objectAttributeBeforeForgeAttribute
Constructors
BeforeForgeAttribute(string)
Creates a new BeforeForgeAttribute.
public BeforeForgeAttribute(string methodName)
Parameters
methodNamestringThe 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