EventManagerDirectory Class
Enables you to add or remove custom code to run when an event is raised.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.EventManagerDirectory
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaration
Public Class EventManagerDirectory
public class EventManagerDirectory
public ref class EventManagerDirectory
type EventManagerDirectory = class end
public class EventManagerDirectory
The EventManagerDirectory type exposes the following members.
Constructors
Name | Description | |
---|---|---|
EventManagerDirectory | Initializes a new instance of the EventManagerDirectory class. |
Top
Properties
Name | Description | |
---|---|---|
ElementAdded | Gets the event manager directory and enables you to add or remove custom code to run when elements are added. | |
ElementDeleted | Gets the event manager directory and enables you to add or remove custom code to run when elements are deleted. | |
ElementEventsBegun | Gets the event manager directory and enables you to add or remove custom code to run before events for elements are raised. | |
ElementEventsEnded | Gets the event manager directory and enables you to add or remove custom code to run after elements for events that are raised. | |
ElementMoved | Gets the event manager directory and enables you to add or remove custom code to run when elements are moved. | |
ElementPropertyChanged | Gets the event manager directory and enables you to add or remove custom code to run when the value of a property on an element changes. | |
RolePlayerChanged | Gets the event manager directory and enables you to add or remove custom code to run when elements that are role players are changed. | |
RolePlayerOrderChanged | Gets the event manager directory and enables you to add or remove custom code to run when elements that are role players are in a different order. | |
TransactionBeginning | Gets the event manager directory and enables you to add or remove custom code to run when a transaction is starting. | |
TransactionCommitted | Gets the event manager directory and enables you to add or remove custom code to run when a transaction is committed. | |
TransactionRolledBack | Gets the event manager directory and enables you to add or remove custom code to run when a transaction is rolled back. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Events
Name | Description | |
---|---|---|
DeserializationBeginning | Gets the event manager directory and enables you to add or remove custom code to run when deserializing a model starts. | |
DeserializationEnding | Gets the event manager directory and enables you to add or remove custom code to run when deserializing a model is ending. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.