SearchResult is defined in the Telligent.Evolution.Extensibility.Api.Entities.Version1 namespace.
Definition
class SearchResult : ApiEntity, IApiEntity
{
SearchResult();
SearchResult(AdditionalInfo additionalInfo);
SearchResult(Error error);
SearchResult(Warning warning);
SearchResult(IList<Warning> warnings, IList<Error> errors);
Guid? ApplicationId { get; set; }
string BestMatch { get; set; }
string BestMatchTitle { get; set; }
string Body { get; set; }
string Category { get; set; }
Guid? ContainerId { get; set; }
Content Content { get; }
string ContentId { get; set; }
string ContentType { get; set; }
Guid? ContentTypeId { get; set; }
DateTime? Date { get; set; }
IList<Error> Errors { get; }
Group Group { get; set; }
Guid? GuidId { get; set; }
string Id { get; set; }
DateTime? IndexedAt { get; set; }
bool? IsApplication { get; set; }
bool? IsContainer { get; set; }
bool? IsContent { get; set; }
IList<SearchField> SearchFields { get; set; }
int? SectionId { get; set; }
IList<string> Tags { get; set; }
int? ThreadId { get; set; }
string Title { get; set; }
string Url { get; set; }
IList<User> Users { get; set; }
IList<Warning> Warnings { get; }
int? WikiId { get; set; }
bool HasErrors();
bool HasWarnings();
bool HasWarningsOrErrors();
void ThrowErrors();
string ViewHtml();
string ViewHtml(string target);
}
Constructors
SearchResult();
SearchResult(AdditionalInfo additionalInfo);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| additionalInfo | AdditionalInfo | Additional Info | Required |
SearchResult(Error error);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| error | Error | Error | Required |
SearchResult(Warning warning);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| warning | Warning | Warning | Required |
SearchResult(IList<Warning> warnings, IList<Error> errors);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| warnings | IList<Warning> | Warnings | Required | ||
| errors | IList<Error> | Errors | Required |
Properties
| Name | Type | Description | Default | Options |
|---|---|---|---|---|
| ApplicationId | Guid? | |||
| BestMatch | string | |||
| BestMatchTitle | string | |||
| Body | string | |||
| Category | string | |||
| ContainerId | Guid? | |||
| Content | Content | |||
| ContentId | string | |||
| ContentType | string | |||
| ContentTypeId | Guid? | |||
| Date | DateTime? | |||
| Errors | IList<Error> | |||
| Group | Group | |||
| GuidId | Guid? | |||
| Id | string | |||
| IndexedAt | DateTime? | |||
| IsApplication | bool? | |||
| IsContainer | bool? | |||
| IsContent | bool? | |||
| SearchFields | IList<SearchField> | |||
| SectionId | int? | |||
| Tags | IList<string> | |||
| ThreadId | int? | |||
| Title | string | |||
| Url | string | |||
| Users | IList<User> | |||
| Warnings | IList<Warning> | |||
| WikiId | int? |
Methods
bool HasErrors();
Return Type
bool HasWarnings();
Return Type
bool HasWarningsOrErrors();
Return Type
void ThrowErrors();
string ViewHtml();
Return Type
string ViewHtml(string target);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| target | string | Target | Required |