Class OpenModComponentBoundCommandRegistration
Inheritance
System.Object
OpenModComponentBoundCommandRegistration
Assembly: OpenMod.Core.dll
Syntax
public class OpenModComponentBoundCommandRegistration : object, ICommandRegistration
Constructors
|
Improve this Doc
View Source
OpenModComponentBoundCommandRegistration(IOpenModComponent, MethodInfo)
Declaration
public OpenModComponentBoundCommandRegistration(IOpenModComponent component, MethodInfo methodInfo)
Parameters
|
Improve this Doc
View Source
OpenModComponentBoundCommandRegistration(IOpenModComponent, Type)
Declaration
public OpenModComponentBoundCommandRegistration(IOpenModComponent component, Type commandType)
Parameters
Properties
|
Improve this Doc
View Source
Aliases
Declaration
public IReadOnlyCollection<string>? Aliases { get; set; }
Property Value
Type |
Description |
System.Nullable<IReadOnlyCollection<System.String>> |
|
|
Improve this Doc
View Source
CommandMethod
Declaration
public MethodInfo? CommandMethod { get; }
Property Value
Type |
Description |
System.Nullable<MethodInfo> |
|
|
Improve this Doc
View Source
CommandType
Declaration
public Type? CommandType { get; }
Property Value
Type |
Description |
System.Nullable<Type> |
|
|
Improve this Doc
View Source
Component
Declaration
public IOpenModComponent Component { get; }
Property Value
|
Improve this Doc
View Source
Description
Declaration
public string? Description { get; set; }
Property Value
Type |
Description |
System.Nullable<System.String> |
|
|
Improve this Doc
View Source
Id
Declaration
public string Id { get; set; }
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; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ParentId
Declaration
public string? ParentId { get; set; }
Property Value
Type |
Description |
System.Nullable<System.String> |
|
|
Improve this Doc
View Source
PermissionRegistrations
Declaration
public IReadOnlyCollection<IPermissionRegistration>? PermissionRegistrations { get; set; }
Property Value
|
Improve this Doc
View Source
Priority
Declaration
public Priority Priority { get; set; }
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