Interface ITerminologyMarkupProvider
Terminology providers that provide markup information with the search results when performing term recognition need to implement this interface.
Inherited Members
System.IDisposable.Dispose()
Namespace: Sdl.Terminology.TerminologyProvider.Core
Assembly: Sdl.Terminology.TerminologyProvider.Core.dll
Syntax
public interface ITerminologyMarkupProvider : IConnectionAwareTerminologyProvider, ITerminologyProvider, IDisposable
Methods
SearchAndMarkup(String, ILanguage, ILanguage, Int32, SearchMode, Boolean)
Performs a term recognition over the current terminology provider
Declaration
IList<ISearchMarkupResult> SearchAndMarkup(string text, ILanguage source, ILanguage destination, int maxResultsCount, SearchMode mode, bool targetRequired)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | text | The text to search for |
| ILanguage | source | Source language |
| ILanguage | destination | Destination language |
| System.Int32 | maxResultsCount | Maximum number of result to return |
| SearchMode | mode | search mode: normal, fuzzy, full text |
| System.Boolean | targetRequired | True to return only term with target language term definition |
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IList<ISearchMarkupResult> | The list of found terms together with markup information |