Interface IExtensionCapabilityProvider
- Namespace
- RDCore.SDK.Extensibility
- Assembly
- RDCore.SDK.dll
A service that provides platform extension capabilities.
public interface IExtensionCapabilityProvider
Methods
GetAsync<TCapability, T>()
Asynchronously requests metadata associated with the specified capability type.
Task<T> GetAsync<TCapability, T>() where T : class, new()
Returns
- Task<T>
The metadata associated with the requested capability type.
Type Parameters
TCapabilityThe capability type requested.
TThe type of capability metadata to get from this provider.
IsAvailableAsync<TCapability>()
Asynchronously validates the availability of the specified capability type.
Task<bool> IsAvailableAsync<TCapability>()
Returns
- Task<bool>
An asynchronous
Taskthat yields aboolthat istrueif the requested capability is available from thie provider.
Type Parameters
TCapabilityThe capability type requested.