Class ActivityFlowModel
Represents the activity flow model, which contains meta data for a activity flow.
Inheritance
Namespace: Mediachase.Commerce.Engine.Internal
Assembly: Mediachase.Commerce.dll
Version: 14.26.0Syntax
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 |
System.ArgumentException | If |
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.