November Happy Hour will be moved to Thursday December 5th.

Class SearchProvidersManager

Inheritance
System.Object
SearchProvidersManager
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: 11.20.7
Syntax
[ServiceConfiguration(IncludeServiceAccessor = false)]
public class SearchProvidersManager

Constructors

SearchProvidersManager(IEnumerable<ISearchProvider>, DynamicDataStoreFactory)

Declaration
public SearchProvidersManager(IEnumerable<ISearchProvider> searchProviders, DynamicDataStoreFactory storeFactory)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<ISearchProvider> searchProviders
DynamicDataStoreFactory storeFactory

Fields

BuiltInSearchProviderSortOrder

Declaration
public const int BuiltInSearchProviderSortOrder = -2147483648
Field Value
Type Description
System.Int32

Properties

Store

Declaration
public DynamicDataStore Store { get; }
Property Value
Type Description
DynamicDataStore

Methods

GetEnabledProvidersByPriority(String, Boolean)

Declaration
public IList<ISearchProvider> GetEnabledProvidersByPriority(string searchArea, bool filterOnArea)
Parameters
Type Name Description
System.String searchArea
System.Boolean filterOnArea
Returns
Type Description
System.Collections.Generic.IList<ISearchProvider>

GetProviderPairs()

Declaration
public IEnumerable<SearchProviderPair> GetProviderPairs()
Returns
Type Description
System.Collections.Generic.IEnumerable<SearchProviderPair>

Reset()

Declaration
public void Reset()

Save(IEnumerable<SearchProviderSetting>)

Declaration
public void Save(IEnumerable<SearchProviderSetting> settings)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<SearchProviderSetting> settings

TryGetProvider(String, out ISearchProvider)

Declaration
public bool TryGetProvider(string providerFullName, out ISearchProvider provider)
Parameters
Type Name Description
System.String providerFullName
ISearchProvider provider
Returns
Type Description
System.Boolean

Extension Methods