Interface IValueProvider<KeyType, ReturnType>
- Namespace
- ElectricDrill.AstraRpgFramework.Utils
- Assembly
- com.electricdrill.astra-rpg-framework.Runtime.dll
Provides a method to retrieve a value based on a key.
public interface IValueProvider<in KeyType, out ReturnType>
Type Parameters
KeyTypeThe type of key used to retrieve the value.
ReturnTypeThe type of value returned by the provider.
Methods
Get(KeyType)
Gets the value associated with the specified key.
ReturnType Get(KeyType key)
Parameters
keyKeyTypeThe key used to retrieve the value.
Returns
- ReturnType
The value associated with the specified key.