Interface IActivityFactory
Describes a factory class responsible for creating Activity instances for a given activity type and action.
Namespace: EPiServer.DataAbstraction.Activities.Internal
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public interface IActivityFactory
Methods
Create(String, Int32, IDictionary<String, String>)
Creates an Activity instance for the specified activity type and action. If the factory does not handle the provided activity type, null must be returned.
Declaration
Activity Create(string activityType, int action, IDictionary<string, string> extendedData)
Parameters
Type | Name | Description |
---|---|---|
System.String | activityType | |
System.Int32 | action | |
System.Collections.Generic.IDictionary<System.String, System.String> | extendedData |
Returns
Type | Description |
---|---|
Activity | A new activity instance or null if not handled. |