Class FeatureSwitchExtensions
Extension methods for IFeatureSwitch.
Inheritance
System.Object
FeatureSwitchExtensions
Namespace: Mediachase.Commerce.Extensions
Assembly: Mediachase.Commerce.dll
Version: 14.26.0Syntax
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 |
|
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 |
|