SearcherAttribute
Namespace: Digi21.DigiNG.Plugin.Search
Assembly: Digi21.DigiNG.Plugin
Marks a class as a search panel provider and specifies its title in the search provider list. The class must implement ISearcher.
[AttributeUsage(AttributeTargets.Class)]
public class SearcherAttribute : Attribute
The title identifies the search provider: two providers cannot have the same title. The ISearcher page explains what happens in that case.
Constructors
public SearcherAttribute()
Creates the attribute with Title set to null. Assign the title using [Searcher(Title = "...")]. If Title is null, Digi3D.AI does not register that search provider or subsequent providers in the same DLL.
Properties
| Property | Description |
|---|---|
string Title { get; set; } |
Search provider title in the search panel's list. |
Example
The ISearcher example uses [Searcher(Title = "Líneas más largas que una longitud")].