Shared.SearchResult Class Reference

Contains information about a result of a Search function, also contains the found object as a variable. More...

Inheritance diagram for Shared.SearchResult:

Inheritance graph
[legend]
Collaboration diagram for Shared.SearchResult:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SearchResult (float relevance, ISearchable searchable)
 Creates a new SearchResult, assigning it a relevance and a search result to encapsulate.

Properties

float Relevance [get, set]
 The relevance of this Result in the search query that created the Result.
ISearchable Item [get, set]
 The found item.
string Title [get]
 Title of encapsulated Item.
string Description [get]
 Description of encapsulated Item.
ResultType SearchType [get]
 Type of encapsulated Item.
string Type [get]
DateTime Date [get]

Private Attributes

float relevance
ISearchable item

Detailed Description

Contains information about a result of a Search function, also contains the found object as a variable.

Definition at line 11 of file Resultinfo.cs.


Constructor & Destructor Documentation

Shared.SearchResult.SearchResult ( float  relevance,
ISearchable  searchable 
)

Creates a new SearchResult, assigning it a relevance and a search result to encapsulate.

Parameters:
relevance 
searchable 

Definition at line 38 of file Resultinfo.cs.


Property Documentation

float Shared.SearchResult.Relevance [get, set]

The relevance of this Result in the search query that created the Result.

Definition at line 20 of file Resultinfo.cs.

Referenced by Server.Catalogue.SearchResultComparer.Compare().

ISearchable Shared.SearchResult.Item [get, set]

The found item.

Definition at line 28 of file Resultinfo.cs.

string Shared.SearchResult.Title [get]

Title of encapsulated Item.

Implements Shared.ISearchable.

Definition at line 50 of file Resultinfo.cs.

string Shared.SearchResult.Description [get]

Description of encapsulated Item.

Implements Shared.ISearchable.

Definition at line 57 of file Resultinfo.cs.

ResultType Shared.SearchResult.SearchType [get]

Type of encapsulated Item.

Implements Shared.ISearchable.

Definition at line 64 of file Resultinfo.cs.


The documentation for this class was generated from the following file:
Generated on Thu Dec 21 06:25:36 2006 for SCRAML by  doxygen 1.5.1-p1