Click or drag to resize

IAnalysisModelValidatorValidate Method (ValidationMode, IReadOnlyCollectionIAnalysisObject)

[This is preliminary documentation and is subject to change.]

Validate a set of AnalysisObject's in context oft the model they are assigned to.

Namespace:  ModelExchanger.AnalysisDataModel.Contracts
Assembly:  ModelExchanger.AnalysisDataModel.Contracts (in ModelExchanger.AnalysisDataModel.Contracts.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax
C#
IDictionary<IAnalysisObject, ValidationResult> Validate(
	ValidationMode mode,
	IReadOnlyCollection<IAnalysisObject> analysisObjects
)

Parameters

mode
Type: ModelExchanger.AnalysisDataModel.ContractsValidationMode
The context in which the validation should occur
analysisObjects
Type: System.Collections.GenericIReadOnlyCollectionIAnalysisObject
The objects to validate

Return Value

Type: IDictionaryIAnalysisObject, ValidationResult
A dictionary containing each object that has been validated and their result. Value of a key can be NULL, which indicates the object is valid.
See Also