OpenMod Docs OpenMod Docs
OpenMod Docs OpenMod Docs
OpenMod .NET Plugin Framework.

Class CommandParentAttribute

Inheritance
System.Object
CommandParentAttribute
Namespace: OpenMod.Core.Commands
Assembly: OpenMod.Core.dll
Syntax
public class CommandParentAttribute : Attribute

Constructors

| Improve this Doc View Source

CommandParentAttribute(Type)

Declaration
public CommandParentAttribute(Type type)
Parameters
Type Name Description
Type type
| Improve this Doc View Source

CommandParentAttribute(Type, String)

Declaration
public CommandParentAttribute(Type declaringType, string methodName)
Parameters
Type Name Description
Type declaringType
System.String methodName

Properties

| Improve this Doc View Source

CommandType

Declaration
public Type? CommandType { get; }
Property Value
Type Description
System.Nullable<Type>
| Improve this Doc View Source

DeclaringType

Declaration
public Type? DeclaringType { get; }
Property Value
Type Description
System.Nullable<Type>
| Improve this Doc View Source

MethodName

Declaration
public string? MethodName { get; }
Property Value
Type Description
System.Nullable<System.String>

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)