Метод | Описание | |
---|---|---|
Add ( MongoCollection collection, string indexName ) : void |
Adds the name of an index to the cache.
|
|
Contains ( MongoCollection collection, string indexName ) : bool |
Tests whether the cache contains the name of an index.
|
|
IndexCache ( ) : System.Collections.Generic |
Initializes a new instance of the IndexCache class.
|
|
Remove ( MongoCollection collection, string indexName ) : void |
Removes the name of an index from the cache.
|
|
Reset ( ) : void |
Resets the cache.
|
|
Reset ( MongoCollection collection ) : void |
Resets part of the cache by removing all indexes for a collection.
|
|
Reset ( MongoDatabase database ) : void |
Resets part of the cache by removing all indexes for a database.
|
|
Reset ( string databaseName ) : void |
Resets part of the cache by removing all indexes for a database.
|
|
Reset ( string databaseName, string collectionName ) : void |
Resets part of the cache by removing all indexes for a collection.
|
public Add ( MongoCollection collection, string indexName ) : void | ||
collection | MongoCollection | The collection that contains the index. |
indexName | string | The name of the index. |
Результат | void |
public Contains ( MongoCollection collection, string indexName ) : bool | ||
collection | MongoCollection | The collection that contains the index. |
indexName | string | The name of the index. |
Результат | bool |
public IndexCache ( ) : System.Collections.Generic | ||
Результат | System.Collections.Generic |
public Remove ( MongoCollection collection, string indexName ) : void | ||
collection | MongoCollection | The collection that contains the index. |
indexName | string | The name of the index. |
Результат | void |
public Reset ( MongoCollection collection ) : void | ||
collection | MongoCollection | The collection. |
Результат | void |
public Reset ( MongoDatabase database ) : void | ||
database | MongoDatabase | The database. |
Результат | void |
public Reset ( string databaseName ) : void | ||
databaseName | string | The name of the database. |
Результат | void |
public Reset ( string databaseName, string collectionName ) : void | ||
databaseName | string | The name of the database containing the collection. |
collectionName | string | The name of the collection. |
Результат | void |