Click or drag to resize

ValidatorServiceValidateAll(CAEXDocument, AutomationMLContainer, Boolean) Method

Get Validation Information for all elements in the specified document, which have validation issues. The IValidationResult provides detailed information about available Repair Options and an additional Information Text. This method should be used, if the Document is loaded from an AutomationML container. The Validation service will check validity of external references which are packed parts of the container.

Namespace: Aml.Engine.Services
Assembly: Aml.Engine.Services (in Aml.Engine.Services.dll) Version: 3.2
Syntax
public IEnumerable<ValidationElement> ValidateAll(
	CAEXDocument document,
	AutomationMLContainer container,
	bool generateLongDescription = false
)

Parameters

document  CAEXDocument
The CAEX document.
container  AutomationMLContainer
The AutomationML container, containing the document source.
generateLongDescription  Boolean  (Optional)
if set to true generate long description for each validation issue.

Return Value

IEnumerableValidationElement
A collection of validation information for CAEX objects. One CAEX object may have multiple occurrences with different validation issues in this collection.

Implements

IValidatorRESULTTYPEValidateAll(CAEXDocument, AutomationMLContainer, Boolean)
See Also