Ant Organisation Ltd documentation

ActivityDefinition.Validate Method 

Tests that the ActivityDefinition is valid, returning a collection of error messages.

public bool Validate(
   bool ignoreTransitions,
   out ICollection errors
);

Parameters

ignoreTransitions
Flag to indicate whether to ignore missing transitions.
errors
Output parameter to receive a collection of string error messages.

Return Value

True if the ActivityDefinition is valid.

See Also

ActivityDefinition Class | Ant.Workflow Namespace