ISearch.AddSearchResult(IModel,string,string) method
Namespace: NextDesign.Core
Description
Register search results.
If the search target is a model in particular, you can add field information that hits the search conditions by using this interface.
argument
| Name | Type | Description |
|---|---|---|
| model | IModel | The model that matches the search criteria You cannot specify null. |
| fields | string | Field names that match the search conditions (separated by commas if multiple) If null is specified, field information will not be set in the search results. |
| message | string | Message |
Return value
Exceptions
| Name | Exception Class | Description |
|---|---|---|
| Invalid argument | ExtensionArgumentException | If null is specified for model |