UpdaterRegistry Members


The UpdaterRegistry type exposes the following members.

Methods

Name Description
Public method Static member AddTrigger(UpdaterId, ElementFilter, ChangeType)
Adds trigger with the specified element filter and ChangeType for all documents associated with this Updater
Public method Static member AddTrigger(UpdaterId, Document, ElementFilter, ChangeType)
Adds trigger with the specified element filter and ChangeType for the specified document
Public method Static member AddTrigger(UpdaterId, Document, ICollection ElementId , ChangeType)
Adds a trigger to an updater with specified set of elements and ChangeType
Public method Static member DisableUpdater
Disables the updater.
Public method Dispose
Releases all resources used by the UpdaterRegistry
Public method Static member EnableUpdater
Enables the updater.
Public method Equals
Determines whether the specified Object is equal to the current Object .
(Inherited from Object .)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object .)
Public method Static member GetIsUpdaterOptional
Check if the updater is optional or not.
Public method Static member GetRegisteredUpdaterInfos
Returns UpdaterInfos for all the application-wide updaters.
Public method Static member GetRegisteredUpdaterInfos(Document)
Returns information about all updaters applicable to the given document.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Public method Static member IsUpdaterEnabled
Checks if the updater is enabled or not.
Public method Static member IsUpdaterRegistered(UpdaterId)
Checks whether updater with the given id is registered
Public method Static member IsUpdaterRegistered(UpdaterId, Document)
Checks whether updater with the given id is registered in a document.
Public method Static member RegisterUpdater(IUpdater)
Registers an updater application-wide, which means the updater may get triggered in any open document.
Public method Static member RegisterUpdater(IUpdater, Document)
Registers the updater for a specified document, which means the updater can only be triggered by changes made in that document.
Public method Static member RegisterUpdater(IUpdater, Boolean)
Registers an updater application-wide, which means the updater may get triggered in any open document.
Public method Static member RegisterUpdater(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 method Static member RemoveAllTriggers
Removes all triggers associated with Updater with specified UpdaterId. Does not unregister updater.
Public method Static member RemoveDocumentTriggers
Removes all triggers associated with specified document and Updater Does not unregister updater.
Public method Static member SetExecutionOrder
Forces execution order between two updaters Execution order: first before second
Public method Static member SetIsUpdaterOptional
Sets a flag indicating whether an updater is optional or not.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Public method Static member UnregisterUpdater(UpdaterId)
Removes the updater associated with the input id from the UpdaterRegistry. Also removes all triggers associated with the Updater.
Public method Static member UnregisterUpdater(UpdaterId, Document)
Unregisters an updater for the given document.

Properties

Name Description
Public property IsValidObject
Specifies whether the .NET object represents a valid Revit entity.

See Also