UpdaterRegistry Members


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, ICollectionElementId, ChangeType)
Adds a trigger to an updater with specified set of elements and ChangeType
Public methodStatic memberDisableUpdater
Disables the updater.
Public methodDispose
Releases all resources used by the UpdaterRegistry
Public methodStatic memberEnableUpdater
Enables the updater.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(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 methodGetType
Gets 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 methodToString
Returns 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.

Properties

  NameDescription
Public propertyIsValidObject
Specifies whether the .NET object represents a valid Revit entity.

See Also