Class OrderOptionsExtensions
OrderOptions extensions methods. These methods can be removed when the legacy configuration system is removed.
Inheritance
System.Object
OrderOptionsExtensions
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: Mediachase.Commerce.Orders.Internal
Assembly: Mediachase.Commerce.dll
Version: 13.30.0Syntax
public static class OrderOptionsExtensions
Methods
GetUserOrderCacheExpiration(OrderOptions)
Declaration
public static TimeSpan GetUserOrderCacheExpiration(this OrderOptions options)
Parameters
Type | Name | Description |
---|---|---|
OrderOptions | options |
Returns
Type | Description |
---|---|
System.TimeSpan |
IsOrderRepositoryCacheDisabled(OrderOptions)
Declaration
public static bool IsOrderRepositoryCacheDisabled(this OrderOptions options)
Parameters
Type | Name | Description |
---|---|---|
OrderOptions | options |
Returns
Type | Description |
---|---|
System.Boolean |