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

Class MethodCommandWrapper

Inheritance
System.Object
MethodCommandWrapper
Implements
ICommand
Namespace: OpenMod.Core.Commands
Assembly: OpenMod.Core.dll
Syntax
public class MethodCommandWrapper : object, ICommand

Constructors

| Improve this Doc View Source

MethodCommandWrapper(MethodInfo, IServiceProvider)

Declaration
public MethodCommandWrapper(MethodInfo methodInfo, IServiceProvider serviceProvider)
Parameters
Type Name Description
MethodInfo methodInfo
IServiceProvider serviceProvider

Methods

| Improve this Doc View Source

ExecuteAsync()

Declaration
public Task ExecuteAsync()
Returns
Type Description
Task

Implements

ICommand

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)