|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
Search result set, which contains 0 or more SearchResults.
Field Summary | |
---|---|
string |
ClientIdSerial
The client's id |
System.Exception | exception |
string |
Key
Key for set |
string | requestSerial |
Naanou.Common.Search.SearchResult[] | result |
int | resultCount |
Constructor Summary | |
---|---|
SearchResultSet(string key, string clientIdSerial, string reqSerial) Constructor |
|
SearchResultSet(string key, string clientIdSerial, string reqSerial, System.Exception e) Constructor |
Property Summary | |
---|---|
Naanou.Common.Search.SearchResult[] |
Result
Gets the results (copy) |
string |
Serial
Gets client's id |
Method Summary | |
---|---|
void |
Add(Naanou.Common.Search.SearchResult newResult) Adds a search result to set |
string |
Dump() Dump details of result set into as string |
void |
SetSerial(string serial) Sets a serial for result set. Serial cannot be changed once set |
Methods inherited from class System.Object |
---|
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString |
Field Detail |
---|
public string ClientIdSerial
The client's id
private System.Exception exception
public string Key
Key for set
private string requestSerial
private Naanou.Common.Search.SearchResult[] result
private int resultCount
Constructor Detail |
---|
public SearchResultSet(string key, string clientIdSerial, string reqSerial)
Constructor
Parameters:
key
- KeyclientIdSerial
- Client id serialreqSerial
- Request serialpublic SearchResultSet(string key, string clientIdSerial, string reqSerial, System.Exception e)
Constructor
Parameters:
key
- KeyclientIdSerial
- Client ide
- Exception that occurredreqSerial
- Request serialSystem.ArgumentNullException
- A required parameter has a null valueProperty Detail |
---|
public Naanou.Common.Search.SearchResult[] Result
Gets the results (copy)
public string Serial
Gets client's id
Method Detail |
---|
public void Add(Naanou.Common.Search.SearchResult newResult)
Adds a search result to set
Parameters:
newResult
- Resultpublic string Dump()
Dump details of result set into as string
Returns:
public void SetSerial(string serial)
Sets a serial for result set. Serial cannot be changed once set
Parameters:
serial
- Serial to setSystem.InvalidOperationException
- Serial is already set
|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |