Search Results for

    Show / Hide Table of Contents

    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: Sdl.TellMe.ProviderApi
    Assembly: Sdl.TellMe.ProviderApi.dll
    Syntax
    public interface ISearchDataProvider

    Properties

    Name

    Declaration
    string Name { get; }
    Property Value
    Type Description
    System.String

    ProviderIcon

    Declaration
    Icon ProviderIcon { get; }
    Property Value
    Type Description
    System.Drawing.Icon

    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
    System.String query

    text entry from the Tell Me UI

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<ISearchDataProvider>

    SearchForSuggestion(String)

    Executes the query

    Declaration
    IEnumerable<ITellMeAction> SearchForSuggestion(string query)
    Parameters
    Type Name Description
    System.String query

    text entry from the Tell Me UI (except the @ProviderName string)

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<ITellMeAction>

    Extension Methods

    WindowsControlUtils.ForWindowFromFrameworkElement(Object, Action<Window>)

    On this page

    • Properties
      • Name
      • ProviderIcon
    • Methods
      • GetProviderForQuery(String)
      • SearchForSuggestion(String)
    • Extension Methods
    Back to top Generated by DocFX