Try our conversational search powered by Generative AI!

Class GlobalStoreDefinitionParametersMap

Class to handle global registrations of store name to StoreDefinitionParameters

Inheritance
System.Object
GlobalStoreDefinitionParametersMap
Implements
System.IDisposable
Namespace: EPiServer.Data.Dynamic
Assembly: EPiServer.Data.dll
Version: 11.20.7
Syntax
public class GlobalStoreDefinitionParametersMap : LocalCache<string, StoreDefinitionParameters>, IDisposable

Constructors

GlobalStoreDefinitionParametersMap()

Declaration
public GlobalStoreDefinitionParametersMap()

Properties

Instance

Declaration
public static GlobalStoreDefinitionParametersMap Instance { get; }
Property Value
Type Description
GlobalStoreDefinitionParametersMap

Methods

Add(Type, StoreDefinitionParameters)

Use the overload when the store name to register should be derived from the System.Type

Declaration
public void Add(Type type, StoreDefinitionParameters parameters)
Parameters
Type Name Description
System.Type type
StoreDefinitionParameters parameters

ContainsType(Type)

Determines whether the cache contains the specified type.

Declaration
public virtual bool ContainsType(Type type)
Parameters
Type Name Description
System.Type type

The type to locate in the cache

Returns
Type Description
System.Boolean
true
if the cache contains an element with the specified type; otherwise,
false
.
Exceptions
Type Condition
System.ArgumentNullException

key is null>

ValidateKey(String)

Declaration
protected override void ValidateKey(string key)
Parameters
Type Name Description
System.String key
Overrides
EPiServer.Data.Cache.Internal.LocalCache<System.String, EPiServer.Data.Dynamic.StoreDefinitionParameters>.ValidateKey(System.String)

ValidateValue(StoreDefinitionParameters)

Declaration
protected override void ValidateValue(StoreDefinitionParameters value)
Parameters
Type Name Description
StoreDefinitionParameters value
Overrides
EPiServer.Data.Cache.Internal.LocalCache<System.String, EPiServer.Data.Dynamic.StoreDefinitionParameters>.ValidateValue(EPiServer.Data.Dynamic.StoreDefinitionParameters)

Implements

System.IDisposable

Extension Methods