Table of Contents

Class SubCommandOfAttribute

Namespace
Uncreated.Warfare.Interaction.Commands
Assembly
Uncreated.Warfare.dll

Defines the parent type of the command, as well as marks this command as a sub-command.

[AttributeUsage(AttributeTargets.Class)]
[BaseTypeRequired(typeof(ICommand))]
public sealed class SubCommandOfAttribute : Attribute
Inheritance
SubCommandOfAttribute
Inherited Members

Constructors

SubCommandOfAttribute(Type)

public SubCommandOfAttribute(Type parentType)

Parameters

parentType Type

Properties

ParentType

public Type? ParentType { get; }

Property Value

Type