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

Class UnturnedItemAssetCommandParameterResolveProvider

Inheritance
System.Object
UnturnedItemAssetCommandParameterResolveProvider
Namespace: OpenMod.Unturned.Items
Assembly: OpenMod.Unturned.dll
Syntax
public class UnturnedItemAssetCommandParameterResolveProvider : ICommandParameterResolveProvider

Constructors

| Improve this Doc View Source

UnturnedItemAssetCommandParameterResolveProvider(IItemDirectory)

Declaration
public UnturnedItemAssetCommandParameterResolveProvider(IItemDirectory itemDirectory)
Parameters
Type Name Description
IItemDirectory itemDirectory

Methods

| Improve this Doc View Source

ResolveAsync(Type, String)

Declaration
public 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)

Declaration
public bool Supports(Type type)
Parameters
Type Name Description
Type type
Returns
Type Description
System.Boolean

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)