Interface ICommandParameterResolveProvider
A provider for resolving command parameters.
Assembly: OpenMod.API.dll
Syntax
public interface ICommandParameterResolveProvider
Methods
|
Improve this Doc
View Source
ResolveAsync(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>> |
|
|
Improve this Doc
View Source
Supports(Type)
Determines whether the given type is supported by this resolver.
Declaration
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
Type |
Description |
System.Boolean |
|
Extension Methods