Click or drag to resize

UniqueNameService Class

This class defines methods for a unique name service. The names of CAEX-Objects in a Sequence of Elements should all be unique. If a unique name service is registered, the AMLEngine will automatically call this service for a unique name generation whenever a new element is added to a sequence which requires a unique name for its members. This services uses a generation pattern which consists of the specified default name followed by a generated ordinal number of the elements in a sequence.
Inheritance Hierarchy
SystemObject
  Aml.Engine.ServicesUniqueNameService

Namespace: Aml.Engine.Services
Assembly: Aml.Engine.Services (in Aml.Engine.Services.dll) Version: 3.2
Syntax
public class UniqueNameService : IUniqueName, 
	IAMLService

The UniqueNameService type exposes the following members.

Methods
 NameDescription
Public methodIsUniqueCAEXName Determines whether the specified element has a unique CAEX name in the sequence of equal elements of its parent.
Public methodStatic memberRegister Registers a new instance of a UniqueNameService with the ServiceLocator of the AMLEngine.
Public methodRegisterDefault Registers the default name for all CAEX objects with the provided element name.
Public methodResume Resumes activities of the unique name service.
Public methodSuspend Suspends activities of the unique name service.
Public methodUniqueCAEXName(XElement, String) Creates a unique CAEX Name for a child with the specified elementTagName in the specified sequence
Public methodUniqueCAEXName(IEnumerableXElement, String, String) Creates a unique CAEX Name for a child with the specified elementTagName in the specified sequence using the specified defaultName
Public methodUniqueCAEXName(XElement, String, String) Creates a unique CAEX Name for a child with the specified elementTagName in the specified sequence using the specified defaultName
Public methodStatic memberUnRegister Unregisters the current instance of the UniqueNameService with the ServiceLocator of the AMLEngine.
Top
See Also