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: 13.30.0Syntax
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 |
|
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 |
|