Class RegisteredCommand
Inheritance
System.Object
RegisteredCommand
Assembly: OpenMod.Core.dll
Syntax
public class RegisteredCommand : object, ICommandRegistration
Constructors
|
Improve this Doc
View Source
RegisteredCommand(ICommandRegistration, RegisteredCommandData)
Declaration
public RegisteredCommand(ICommandRegistration baseCommandRegistration, RegisteredCommandData commandData)
Parameters
Properties
|
Improve this Doc
View Source
Aliases
Declaration
public IReadOnlyCollection<string> Aliases { get; }
Property Value
| Type |
Description |
| IReadOnlyCollection<System.String> |
|
|
Improve this Doc
View Source
BaseCommandRegistration
Declaration
public ICommandRegistration BaseCommandRegistration { get; }
Property Value
|
Improve this Doc
View Source
CommandData
Declaration
public RegisteredCommandData CommandData { get; }
Property Value
|
Improve this Doc
View Source
Component
Declaration
public IOpenModComponent Component { get; }
Property Value
|
Improve this Doc
View Source
Description
Declaration
public string? Description { get; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
Id
Declaration
public string Id { get; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
IsEnabled
Declaration
public bool IsEnabled { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
Name
Declaration
public string Name { get; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
ParentId
Declaration
public string? ParentId { get; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
|
Improve this Doc
View Source
PermissionRegistrations
Declaration
public IReadOnlyCollection<IPermissionRegistration> PermissionRegistrations { get; }
Property Value
|
Improve this Doc
View Source
Priority
Declaration
public Priority Priority { get; }
Property Value
|
Improve this Doc
View Source
Syntax
Declaration
public string? Syntax { get; }
Property Value
| Type |
Description |
| System.Nullable<System.String> |
|
Methods
|
Improve this Doc
View Source
Instantiate(IServiceProvider)
Declaration
public ICommand Instantiate(IServiceProvider serviceProvider)
Parameters
| Type |
Name |
Description |
| IServiceProvider |
serviceProvider |
|
Returns
|
Improve this Doc
View Source
SupportsActor(ICommandActor)
Declaration
public bool SupportsActor(ICommandActor actor)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Implements
Extension Methods