Table of Contents

Class QueryConfigurationService

Namespace
Dynamicweb.Indexing.Querying
Assembly
Dynamicweb.Core.dll
public class QueryConfigurationService : ICacheStorage<string, QueryConfigurationBase>, ICacheStorage<string>, ICacheStorage
Inheritance
QueryConfigurationService
Implements
Inherited Members

Methods

ClearCache()

Resets all keys to the default value for objects stored in the object cache

public void ClearCache()

ClearCache(IEnumerable<string>)

Resets the specified keys to the default value for objects stored in the object cache

public void ClearCache(IEnumerable<string> keys)

Parameters

keys IEnumerable<string>

Keys to reset

ClearCache(string)

Resets the specified key to the default value for objects stored in the object cache

public void ClearCache(string key)

Parameters

key string

Key to reset

Delete(IQuery)

public void Delete(IQuery query)

Parameters

query IQuery

Delete(QueryConfigurationBase)

public void Delete(QueryConfigurationBase configuration)

Parameters

configuration QueryConfigurationBase

GetConfiguration<T>(IQuery)

public T GetConfiguration<T>(IQuery query) where T : QueryConfigurationBase, new()

Parameters

query IQuery

Returns

T

Type Parameters

T

HasConfiguration(IQuery)

public bool HasConfiguration(IQuery query)

Parameters

query IQuery

Returns

bool

Save(QueryConfigurationBase, IQuery)

public void Save(QueryConfigurationBase configuration, IQuery query)

Parameters

configuration QueryConfigurationBase
query IQuery
To top