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

Class CommandHelper

Inheritance
System.Object
CommandHelper
Namespace: OpenMod.Core.Helpers
Assembly: OpenMod.Core.dll
Syntax
public static class CommandHelper : object

Methods

| Improve this Doc View Source

GetServiceOrCommandParameter(IEnumerable<Type>, IServiceProvider, ICommandParameters)

Declaration
public static Task<object[]> GetServiceOrCommandParameter(IEnumerable<Type> types, IServiceProvider serviceProvider, ICommandParameters commandParameters)
Parameters
Type Name Description
IEnumerable<Type> types
IServiceProvider serviceProvider
ICommandParameters commandParameters
Returns
Type Description
Task<System.Object[]>