|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
Results aggregate for a particular resource.
Stores only the one copy of the result details, and keeps track of all the sources encountered for this resource
Field Summary | |
---|---|
int | confidence |
double | confidenceTotal |
Naanou.Common.IEntry | entry |
string | filename |
string | lastDir |
System.Windows.Forms.ListViewItem | listItem |
string | path |
Naanou.Common.Search.SearchResult | result |
int | sourceCount |
Naanou.Common.Search.ContentSource[] | sources |
Constructor Summary | |
---|---|
ResultAggregate(Naanou.Common.Search.SearchResult result, Naanou.Common.IEntry entry, string filename, string path, string lastDir) Constructor |
Property Summary | |
---|---|
int |
Confidence
Gets the confidence level (0-100) |
Naanou.Common.IEntry |
Entry
Gets the first entry for this resource |
string | Filename |
string | LastDir |
System.Windows.Forms.ListViewItem |
ListItem
Gets or sets the list view item for this resource |
string | Path |
Naanou.Common.Search.SearchResult |
Result
Gets the first result for this resource |
int |
SourcesCount
Gets the number of sources this resource has |
Method Summary | |
---|---|
void | AddSource(Naanou.Common.Search.ContentSource source) |
void |
Merge(Naanou.Common.Search.SearchResult result, Naanou.Common.IEntry entry) Merges a new result for the same resource. If the source already exists, it is silently dropped. |
Naanou.Common.Search.ContentSource[] |
Sources() Gets a new array of all sources that have this resource |
void |
UpdateUI(int sourceColIndex) Causes list view item associated with aggregator to be updated |
Methods inherited from class System.Object |
---|
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString |
Field Detail |
---|
private int confidence
private double confidenceTotal
private Naanou.Common.IEntry entry
private string filename
private string lastDir
private System.Windows.Forms.ListViewItem listItem
private string path
private Naanou.Common.Search.SearchResult result
private int sourceCount
private Naanou.Common.Search.ContentSource[] sources
Constructor Detail |
---|
public ResultAggregate(Naanou.Common.Search.SearchResult result, Naanou.Common.IEntry entry, string filename, string path, string lastDir)
Constructor
Parameters:
result
- Resultentry
- EntryProperty Detail |
---|
public int Confidence
Gets the confidence level (0-100)
public Naanou.Common.IEntry Entry
Gets the first entry for this resource
public string Filename
public string LastDir
public System.Windows.Forms.ListViewItem ListItem
Gets or sets the list view item for this resource
public string Path
public Naanou.Common.Search.SearchResult Result
Gets the first result for this resource
public int SourcesCount
Gets the number of sources this resource has
Method Detail |
---|
private void AddSource(Naanou.Common.Search.ContentSource source)
public void Merge(Naanou.Common.Search.SearchResult result, Naanou.Common.IEntry entry)
Merges a new result for the same resource. If the source already exists, it is silently dropped.
Modifies the confidence and source count columns on next update
Parameters:result
- entry
- public Naanou.Common.Search.ContentSource[] Sources()
Gets a new array of all sources that have this resource
Returns:
public void UpdateUI(int sourceColIndex)
Causes list view item associated with aggregator to be updated
Parameters:
sourceColIndex
- Source column index
|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |