Class ModOptionEventAttribute
- Namespace
- Nautilus.Options.Attributes
- Assembly
- Nautilus.dll
Abstract base attribute used to signify a method to call whenever the derivative event is invoked for the decorated member.
[AttributeUsage(AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field, AllowMultiple = true)]
public abstract class ModOptionEventAttribute : Attribute, _Attribute
- Inheritance
-
ModOptionEventAttribute
- Implements
- Derived
- Inherited Members
- Extension Methods
Remarks
The method must be a member of the same class.
Constructors
ModOptionEventAttribute(string)
Signifies a method to call whenever the derivative event is invoked for the decorated member.
public ModOptionEventAttribute(string methodName)
Parameters
methodName
string- The name of the method within the same class to invoke.
Remarks
The method must be a member of the same class.
Properties
MethodName
The name of the method to invoke.
public string MethodName { get; }