SaaS CMS has officially launched! Learn more now.

Class EventActivityValidator

Validates that "raw" event activitys is only used inside an composite activity.

Inheritance
System.Object
EventActivityValidator
Namespace: EPiServer.WorkflowFoundation.Activities
Assembly: EPiServer.WorkflowFoundation.dll
Version: 7.19.2
Syntax
public class EventActivityValidator : ActivityValidator
Remarks

For event registration/unregistration with host to work associated composite acitivity should be used.

Constructors

EventActivityValidator()

Declaration
public EventActivityValidator()

Methods

Validate(ValidationManager, Object)

Verifies that the given activity is valid.

Declaration
public override ValidationErrorCollection Validate(ValidationManager manager, object obj)
Parameters
Type Name Description
System.Workflow.ComponentModel.Compiler.ValidationManager manager

The System.Workflow.ComponentModel.Compiler.ValidationManager associated with validation.

System.Object obj

The System.Workflow.ComponentModel.Activity to be validated.

Returns
Type Description
System.Workflow.ComponentModel.Compiler.ValidationErrorCollection

A System.Workflow.ComponentModel.Compiler.ValidationErrorCollection object containing any errors or warnings that occurred during validation.

Extension Methods