Try our conversational search powered by Generative AI!

Interface IActivityFactory

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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: 11.20.7
Syntax
public interface IActivityFactory

Methods

Create(String, Int32, IDictionary<String, String>)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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.

Extension Methods