London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

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.3
Syntax
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.

Extension Methods