vgquotes/Src/VideoGameQuotes.Api/Search/ISearchIndexBuilder.cs
2011-02-25 23:36:21 +00:00

17 lines
519 B
C#

namespace VideoGameQuotes.Api.Search {
/// <summary>
/// Exposes an interface to build and update a search index
/// </summary>
public interface ISearchIndexBuilder<T> {
/// <summary>
/// (Re)builds the search index
/// </summary>
void BuildIndex();
/// <summary>
/// Updates the index for the specified <paramref name="indexableObject"/>
/// </summary>
/// <param name="indexableObject">The object that needs its index updated</param>
void UpdateIndex(T indexableObject);
}
}