 | 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.ServicesAssembly: Aml.Engine.Services (in Aml.Engine.Services.dll) Version: 3.2
Syntaxpublic IEnumerable<ValidationElement> ValidateAll(
CAEXDocument document,
AutomationMLContainer container,
bool generateLongDescription = false
)
Public Function ValidateAll (
document As CAEXDocument,
container As AutomationMLContainer,
Optional generateLongDescription As Boolean = false
) As IEnumerable(Of ValidationElement)
public:
virtual IEnumerable<ValidationElement^>^ ValidateAll(
CAEXDocument^ document,
AutomationMLContainer^ container,
bool generateLongDescription = false
) sealed
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