![]() | Service |
The ServiceLocator type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | AutoUpdateService | Gets the automatic update service. |
![]() ![]() | ExternalReferenceResolverService | Gets the external reference resolver service. |
![]() ![]() | QueryService | Gets the registered Query-Service. If no Query-Service is registered, a default Query-Service - which is based on LinqToXml - is returned. As an alternative, a Query-Service based on Dictionaries for keyed access is available. The dictionary based service has to be registered to be used. If no such service has been registered, the default query service is returned. The actual registered Query-Service is located by the engine and used for all queries. |
![]() ![]() | UndoRedoService | Gets the registered UndoRedo-Service. The actual registered UndoRedo-Service is located by the engine and used to push executed commands on the undo stack. If no UndoRedo-Service is registered executed commands are not pushed and cannot be undone. |
![]() ![]() | UniqueNameService | Gets the registered UniqueName-Service.The actual registered UniqueName-Service is located by the engine to automatically assign unique names to CAEXObjects if they are inserted into a sequence. If no UniqueName-Service is registered no names are generated. |
Name | Description | |
---|---|---|
![]() ![]() | BeginServiceT | Starts the usage of a service of the provided type T. If an already registered service of this type exists, the registered service is used. If the service is not registered it is registered using the provided method. |
![]() ![]() | EndService | Ends the usage of the provided service. If the service was newly registered when it was started in BeginServiceT(FuncT, T) it will be unregistered calling the provided unregistration method. |
![]() ![]() | GetServiceT | Gets a service for the provided service interface |
![]() ![]() | RegisterT | Registers a service which will be locatable |
![]() ![]() | UnRegisterT | Removes a service of this type from the registration which will afterwards no more locatable |