Interface IActivityHandler<TExtension>
The IActivityHandler interface describes a component capable of handling a particular type of activity.
Namespace: EPiServer.Social.ActivityStreams.Core
Assembly: EPiServer.Social.ActivityStreams.Core.dll
Version: 1.5.4Syntax
public interface IActivityHandler<TExtension>
where TExtension : class
Type Parameters
| Name | Description |
|---|---|
| TExtension | Type of activity to handle |
Methods
Handle(Activity, TExtension)
Handle the specified activity.
Declaration
void Handle(Activity activity, TExtension extension)
Parameters
| Type | Name | Description |
|---|---|---|
| Activity | activity | The activity to be handled |
| TExtension | extension | The payload of the activity being handled |