Class CatalogOptions
Contains options for the catalog system.
Inheritance
Inherited Members
Namespace: Mediachase.Commerce.Catalog
Assembly: Mediachase.Commerce.dll
Version: 13.30.0Syntax
public class CatalogOptions
Constructors
CatalogOptions()
Declaration
public CatalogOptions()
Properties
CollectionCacheExpiration
The expiration time for catalog relations, catalog associations, catalog nodes, catalog entries, catalog, tax categories and merchants.
Declaration
public TimeSpan CollectionCacheExpiration { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
Remarks
Default value is 5 minutes.
ContentVersionCacheExpiration
The expiration time for catalog content versions.
Declaration
public TimeSpan ContentVersionCacheExpiration { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
Remarks
Default value is 10 minutes.
CurrencyCacheExpiration
The expiration time for currencies.
Declaration
public TimeSpan CurrencyCacheExpiration { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
Remarks
Default value is 1 hour.
EntryCacheExpiration
The expiration time for entries.
Declaration
public TimeSpan EntryCacheExpiration { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
Remarks
Default value is 15 minutes.
IdentityResolverCacheExpiration
The expiration time for the identity resolver.
Declaration
public TimeSpan IdentityResolverCacheExpiration { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
Remarks
Default value is 10 minutes.
InventoryCacheExpiration
The expiration time for inventory.
Declaration
public TimeSpan InventoryCacheExpiration { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
Remarks
Default value is 5 minutes.
NodeCacheExpiration
The expiration time for nodes.
Declaration
public TimeSpan NodeCacheExpiration { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
Remarks
Default value is 15 minutes.
PriceCacheExpiration
The expiration time for price.
Declaration
public TimeSpan PriceCacheExpiration { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
Remarks
Default value is 10 minutes.
PriceDetailsCacheExpiration
The expiration time for price details.
Declaration
public TimeSpan PriceDetailsCacheExpiration { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
Remarks
Default value is 10 minutes.
UseCache
Indicates if the cache is enabled.
Declaration
public bool UseCache { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
Default value true.