Class ExamineExtensions
- Namespace
- Examine
- Assembly
- Examine.Core.dll
Static methods to help query umbraco xml
public static class ExamineExtensions
- Inheritance
-
ExamineExtensions
- Inherited Members
Methods
DeleteFromIndex(IIndex, string)
Deletes a node from the index
public static void DeleteFromIndex(this IIndex index, string itemId)
Parameters
GetIndex(IExamineManager, string)
Gets the index by name, throw InvalidOperationException if not found
public static IIndex GetIndex(this IExamineManager examineManager, string indexName)
Parameters
examineManager
IExamineManagerindexName
string
Returns
GetNamedOptions<T>(IOptionsMonitor<T>, string)
Gets named options from an IOptionsMonitor<TOptions>
public static T GetNamedOptions<T>(this IOptionsMonitor<T> optionsMonitor, string name) where T : class
Parameters
optionsMonitor
IOptionsMonitor<T>name
string
Returns
- T
Type Parameters
T
Exceptions
IndexItem(IIndex, ValueSet)
Method to re-index specific data
public static void IndexItem(this IIndex index, ValueSet node)