Class GlobalStoreDefinitionParametersMap
Class to handle global registrations of store name to StoreDefinitionParameters
Inheritance
System.Object
GlobalStoreDefinitionParametersMap
Implements
System.IDisposable
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.Data.Dynamic
Assembly: EPiServer.Data.dll
Version: 10.10.4Syntax
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 | if the cache contains an element with the specified type; otherwise, .
|
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