Class CustomerConfiguration

Customer Configuration

Inheritance
System.Object
CustomerConfiguration
Namespace: Mediachase.Commerce.Customers.Configuration
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
public class CustomerConfiguration : ConfigurationSection

Properties

ApplicationId

Unique identifier for application.

Declaration
public Guid ApplicationId { get; }
Property Value
Type Description
System.Guid

The application id.

AutoInstall

Gets a value indicating whether [auto install].

Declaration
public bool AutoInstall { get; }
Property Value
Type Description
System.Boolean

true if [auto install]; otherwise, false.

Cache

Config settings which define where caching is enabled and timeouts related to it.

Declaration
public CustomerCacheElement Cache { get; }
Property Value
Type Description
CustomerCacheElement

The cache.

Connection

Gets the connection.

Declaration
public CustomerConnectionElement Connection { get; }
Property Value
Type Description
CustomerConnectionElement

The connection.

DemoInstall

Gets a value indicating whether [auto install].

Declaration
public bool DemoInstall { get; }
Property Value
Type Description
System.Boolean

true if [auto install]; otherwise, false.

Instance

Singleton instance

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

The instance.

Roles

Configuration element defines the mapping of mapped types to type names specified in configuration file

Declaration
public RoleElementCollection Roles { get; }
Property Value
Type Description
RoleElementCollection

The mapped types.

Methods

GetRole(String)

Returns class names mapped to the event key (name)

Declaration
public RoleDefinitionElement GetRole(string key)
Parameters
Type Name Description
System.String key

The key.

Returns
Type Description
RoleDefinitionElement