Method | Description | |
---|---|---|
AddToIndex ( IDomIndexedNode element ) : void |
Add an element to the index using the default keys for this element.
|
|
AddToIndex ( ushort key, IDomIndexedNode element ) : void |
Adds an element to the index for the specified key.
|
|
Clear ( ) : void |
Clears this object to its blank/initial state.
|
|
DomIndexSimple ( ) : System |
Default constructor for the index
|
|
QueryIndex ( ushort subKey ) : IEnumerable |
Query the document's index for a subkey.
|
|
QueryIndex ( ushort subKey, int depth, bool includeDescendants ) : IEnumerable |
Queries the index, returning all matching elements. For the SimpleIndex, this is not implemented.
|
|
RemoveFromIndex ( IDomIndexedNode element ) : void |
Remove an element from the index.
|
|
RemoveFromIndex ( ushort key, IDomIndexedNode element ) : void |
Remove an element from the index using its key.
|
public AddToIndex ( IDomIndexedNode element ) : void | ||
element | IDomIndexedNode | /// The element to add /// |
return | void |
public AddToIndex ( ushort key, IDomIndexedNode element ) : void | ||
key | ushort | /// The key to remove. /// |
element | IDomIndexedNode | /// The element to add. /// |
return | void |
public QueryIndex ( ushort subKey ) : IEnumerable |
||
subKey | ushort | /// The subkey to match /// |
return | IEnumerable |
public QueryIndex ( ushort subKey, int depth, bool includeDescendants ) : IEnumerable |
||
subKey | ushort | /// The subkey to match. /// |
depth | int | /// The depth. /// |
includeDescendants | bool | /// true to include, false to exclude the descendants. /// |
return | IEnumerable |
public RemoveFromIndex ( IDomIndexedNode element ) : void | ||
element | IDomIndexedNode | /// The element to remove /// |
return | void |
public RemoveFromIndex ( ushort key, IDomIndexedNode element ) : void | ||
key | ushort | /// The key to remove. /// |
element | IDomIndexedNode | /// The element to remove. /// |
return | void |