Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class FeatureSwitchExtensions

Extension methods for IFeatureSwitch.

Inheritance
System.Object
FeatureSwitchExtensions
Namespace: Mediachase.Commerce.Extensions
Assembly: Mediachase.Commerce.dll
Version: 14.26.0
Syntax
public static class FeatureSwitchExtensions : Object

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.