Take the community feedback survey now.

Class ApplicationOptions

Application configuration represented as Option

Inheritance
System.Object
ApplicationOptions
Namespace: Mediachase.Commerce.Core
Assembly: Mediachase.Commerce.dll
Version: 14.26.0
Syntax
public class ApplicationOptions : Object

Constructors

ApplicationOptions()

Declaration
public ApplicationOptions()

Properties

AutoMigrate

Auto migrate commerce. Default is true.

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

Cache

Cache settings for application.

Declaration
public ApplicationCacheOptions Cache { get; set; }
Property Value
Type Description
ApplicationCacheOptions

DefaultApplicationName

Root configuration attribute which defines default value used for application name

Declaration
public string DefaultApplicationName { get; set; }
Property Value
Type Description
System.String

The default name of the application.

Features

Configurable application features.

Declaration
public Dictionary<string, ApplicationFeature> Features { get; set; }
Property Value
Type Description
System.Collections.Generic.Dictionary<System.String, ApplicationFeature>

Roles

Application roles

Declaration
public Dictionary<string, string> Roles { get; set; }
Property Value
Type Description
System.Collections.Generic.Dictionary<System.String, System.String>