![]() |
Init(args)
Scripting Reference
|
Represents an object that can asynchronously retrieve a value of type TValue for a client Component.
If a class derives from Object and implements IValueProviderAsync<T> then Any<T> can wrap an instance of this class and return its value when Any<T>.GetValueAsync is called.
TValue | Type of the provided value. |
Public Member Functions | |
new System.Threading.Tasks.Task< TValue > | GetForAsync ([AllowNull] Component client) |
Gets the value of type TValue for the client . | |
bool | HasValueFor (Component client) |
Gets a value indicating whether this value provider can provide a value of type TValue for the client at this time. | |
async System.Threading.Tasks.Task< object > IValueProviderAsync. | GetForAsync ([AllowNull] Component client) |
Gets the value of type TValue for the client . | |