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 ActivityFlowModel

Represents the activity flow model, which contains meta data for a activity flow.

Inheritance
System.Object
ActivityFlowModel
Namespace: Mediachase.Commerce.Engine.Internal
Assembly: Mediachase.Commerce.dll
Version: 14.26.0
Syntax
public class ActivityFlowModel : Object

Constructors

ActivityFlowModel(ActivityFlowConfigurationAttribute, Type)

Initializes a new instance of the ActivityFlowModel class based on its configuration.

Declaration
public ActivityFlowModel(ActivityFlowConfigurationAttribute config, Type activityFlowType)
Parameters
Type Name Description
ActivityFlowConfigurationAttribute config

The activity flow model configuration.

System.Type activityFlowType

The activity flow type.

Exceptions
Type Condition
System.ArgumentNullException

If activityFlowType is null.

System.ArgumentException

If activityFlowType is not sub class of ActivityFlow.

Properties

ActivityFlowType

Gets the activity flow type.

Declaration
public Type ActivityFlowType { get; }
Property Value
Type Description
System.Type

Description

Gets the activity flow model's description.

Declaration
public string Description { get; }
Property Value
Type Description
System.String

DisplayName

Gets the activity flow model's friendly name.

Declaration
public string DisplayName { get; }
Property Value
Type Description
System.String

LegacyMode

Gets flag to indicate whether the activity flow model is available only in legacy mode.

Declaration
public bool LegacyMode { get; }
Property Value
Type Description
System.Boolean

Name

Gets the activity flow model's name.

Declaration
public string Name { get; }
Property Value
Type Description
System.String

Priority

Gets the activity flow's priority.

Declaration
public int Priority { get; }
Property Value
Type Description
System.Int32
Remarks

ActivityFlow with higher priority will override registered activity flow which has the same name mode.