Class FeatureSwitchExtensions

Extension methods for IFeatureSwitch.

Inheritance
System.Object
FeatureSwitchExtensions
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.Extensions
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
public static class FeatureSwitchExtensions

Methods

IsSerializedCartsEnabled(IFeatureSwitch)

Checks if SerializedCarts feature is enable.

Declaration
public static bool IsSerializedCartsEnabled(this IFeatureSwitch featureSwitch)
Parameters
Type Name Description
IFeatureSwitch featureSwitch

The feature switch.

Returns
Type Description
System.Boolean

True if SerializedCarts feature is enable; otherwise False.

IsVNextWorkflowEnabled(IFeatureSwitch)

Checks if VNextWorkflow feature is enable.

Declaration
public static bool IsVNextWorkflowEnabled(this IFeatureSwitch featureSwitch)
Parameters
Type Name Description
IFeatureSwitch featureSwitch

The feature switch.

Returns
Type Description
System.Boolean

True if VNextWorkflow is enable; otherwise False.