Share

UpdaterRegistry Methods

The UpdaterRegistry type exposes the following members.

Methods

 NameDescription
Public methodStatic memberAddTrigger(UpdaterId, ElementFilter, ChangeType) Adds trigger with the specified element filter and ChangeType for all documents associated with this Updater
Public methodStatic memberAddTrigger(UpdaterId, Document, ElementFilter, ChangeType) Adds trigger with the specified element filter and ChangeType for the specified document
Public methodStatic memberAddTrigger(UpdaterId, Document, ICollection<ElementId>, ChangeType) Adds a trigger to an updater with specified set of elements and ChangeType
Public methodStatic memberDisableUpdater Disables the updater.
Public methodDispose 
Public methodStatic memberEnableUpdater Enables the updater.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodStatic memberGetIsUpdaterOptional Check if the updater is optional or not.
Public methodStatic memberGetRegisteredUpdaterInfos() Returns UpdaterInfos for all the application-wide updaters.
Public methodStatic memberGetRegisteredUpdaterInfos(Document) Returns information about all updaters applicable to the given document.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberIsUpdaterEnabled Checks if the updater is enabled or not.
Public methodStatic memberIsUpdaterRegistered(UpdaterId) Checks whether updater with the given id is registered
Public methodStatic memberIsUpdaterRegistered(UpdaterId, Document) Checks whether updater with the given id is registered in a document.
Public methodStatic memberRegisterUpdater(IUpdater) Registers an updater application-wide, which means the updater may get triggered in any open document.
Public methodStatic memberRegisterUpdater(IUpdater, Document) Registers the updater for a specified document, which means the updater can only be triggered by changes made in that document.
Public methodStatic memberRegisterUpdater(IUpdater, Boolean) Registers an updater application-wide, which means the updater may get triggered in any open document.
Public methodStatic memberRegisterUpdater(IUpdater, Document, Boolean) Registers the updater for a specified document, which means the updater can only be triggered by changes made in that document.
Public methodStatic memberRemoveAllTriggers Removes all triggers associated with Updater with specified UpdaterId. Does not unregister updater.
Public methodStatic memberRemoveDocumentTriggers Removes all triggers associated with specified document and Updater Does not unregister updater.
Public methodStatic memberSetExecutionOrder Forces execution order between two updaters Execution order: first before second
Public methodStatic memberSetIsUpdaterOptional Sets a flag indicating whether an updater is optional or not.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodStatic memberUnregisterUpdater(UpdaterId) Removes the updater associated with the input id from the UpdaterRegistry. Also removes all triggers associated with the Updater.
Public methodStatic memberUnregisterUpdater(UpdaterId, Document) Unregisters an updater for the given document.

See Also

Reference

Was this information helpful?