Click or drag to resize

ValidatorServiceNameValidation Method

Validates a name of a CAEX object. Names of CAEX classes or types (RoleClasses, InterfaceClasses, SystemUnitClasses and AttributeTypes), Attributes, Libraries and CAEX InstanceHierarchies shall be unique across its siblings or across all child elements of the same CAEX parent element over its life time. This shall assure that referencing a library, a class, a type or an attribute by its path delivers a unique result.

Namespace: Aml.Engine.Services
Assembly: Aml.Engine.Services (in Aml.Engine.Services.dll) Version: 3.2
Syntax
public (bool IsValid, string Message) NameValidation(
	CAEXObject caexObject,
	string name
)

Parameters

caexObject  CAEXObject
The CAEX object.
name  String
The name, which should be assigned to the object.

Return Value

ValueTupleBoolean, String
A value tuple, returning the validation result and a message

Implements

IValidatorNameValidation(CAEXObject, String)
See Also