C# Class Subtext.Extensibility.Providers.SearchProvider

Inheritance: System.Configuration.Provider.ProviderBase
显示文件 Open project: ayende/Subtext

Public Methods

Method Description
Initialize ( string name, NameValueCollection configValue ) : void

Initializes this provider, setting the connection string.

Instance ( ) : SearchProvider

Returns the currently configured SearchProvider.

Search ( int blogId, string searchTerm ) : IList

Searches the specified blog for items that match the search term.

Method Details

Initialize() public method

Initializes this provider, setting the connection string.
public Initialize ( string name, NameValueCollection configValue ) : void
name string Friendly Name of the provider.
configValue System.Collections.Specialized.NameValueCollection Config value.
return void

Instance() public static method

Returns the currently configured SearchProvider.
public static Instance ( ) : SearchProvider
return SearchProvider

Search() public abstract method

Searches the specified blog for items that match the search term.
public abstract Search ( int blogId, string searchTerm ) : IList
blogId int
searchTerm string
return IList