Interface ICommandParameterResolver
The service for resolving command parameters.
Namespace: OpenMod.API.Commands
Assembly: OpenMod.API.dll
Syntax
public interface ICommandParameterResolver
Methods
| Improve this Doc View SourceResolveAsync(Type, String)
Resolves an object of the given type from the input.
Declaration
Task<object?> ResolveAsync(Type type, string input)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | type | |
| System.String | input |
Returns
| Type | Description |
|---|---|
| Task<System.Nullable<System.Object>> |