Class SearchProviderPair

Used to pass configurable information about a search provider.

Inheritance
System.Object
SearchProviderPair
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Shell.Search
Assembly: EPiServer.Shell.dll
Version: 9.12.2
Syntax
public class SearchProviderPair

Constructors

SearchProviderPair(SearchProviderSetting, ISearchProvider)

Initializes a new instance of the SearchProviderPair class.

Declaration
public SearchProviderPair(SearchProviderSetting setting, ISearchProvider provider)
Parameters
Type Name Description
SearchProviderSetting setting

The setting.

ISearchProvider provider

The provider.

Properties

Provider

Gets or sets the search provider.

Declaration
public ISearchProvider Provider { get; set; }
Property Value
Type Description
ISearchProvider

ProviderKey

Gets the provider typename encoded for usage on the client.

Declaration
public string ProviderKey { get; }
Property Value
Type Description
System.String

Setting

Gets or sets the setting object stored in database or default.

Declaration
public SearchProviderSetting Setting { get; set; }
Property Value
Type Description
SearchProviderSetting

Extension Methods