Interface ISearchDataProvider
Represents a search mechanism that can be activated if the user types the provider name preceded by @.
The Tell Me will use it's default provider in case no @ sign is detected at the beginning of the word.
In case an @ is detected it will search the providers for the corresponding provider name if none is found
it will use the default one. If one is detected then it will be used to do a query on it using the words after
the provider name.
e.g @CustomProvider stringToSearch1 stringToSearch2
Namespace: SdlSdl.TellMeProviderApi
Assembly: Sdl.TellMe.ProviderApi.dll
Syntax
public interface ISearchDataProvider
Properties
Name
Declaration
Property Value
ProviderIcon
Declaration
Icon ProviderIcon { get; }
Property Value
Methods
GetProviderForQuery(string)
Called to identify if the provider can be used for the query
Declaration
IEnumerable<ISearchDataProvider> GetProviderForQuery(string query)
Parameters
Type |
Name |
Description |
string |
query |
text entry from the Tell Me UI
|
Returns
SearchForSuggestion(string)
Declaration
IEnumerable<ITellMeAction> SearchForSuggestion(string query)
Parameters
Type |
Name |
Description |
string |
query |
text entry from the Tell Me UI (except the @ProviderName string)
|
Returns
Extension Methods