Method HasProvider
HasProvider<TProvider>(IFunctionalitySubscriber<TProvider>)
Check whether this subscriber has a provider of the given type
Declaration
public static bool HasProvider<TProvider>(this IFunctionalitySubscriber<TProvider> subscriber) where TProvider : class, IFunctionalityProvider
Parameters
Type | Name | Description |
---|---|---|
IFunctionalitySubscriber<TProvider> | subscriber | The functionality subscriber on which to check for a provider |
Returns
Type | Description |
---|---|
bool | True if the subscriber has a provider of the given type |
Type Parameters
Name | Description |
---|---|
TProvider | The provider type for which to check |