CodeDomEventBindingService Members

Include Protected Members
Include Inherited Members

A service used to generate event-handling code.

The CodeDomEventBindingService type exposes the following members.

Constructors

  Name Description
Public method CodeDomEventBindingService Initializes a new instance of CodeDomEventBindingService.

Top

Methods

  Name Description
Protected method CreateUniqueMethodName Creates a unique method name for the event. (Overrides EventBindingService.CreateUniqueMethodName(IComponent, EventDescriptor).)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method FreeMethod Removes the specified method from the code if no event handlers are using it and it is empty. (Overrides EventBindingService.FreeMethod(IComponent, EventDescriptor, String).)
Protected method GetCompatibleMethods Gets all the methods in the code DOM that are compatible with the specified event descriptor. (Overrides EventBindingService.GetCompatibleMethods(EventDescriptor).)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected method GetService Gets the requested service from the service provider. (Inherited from EventBindingService.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method ShowCode() Displays the code in the document data in the editor window. (Overrides EventBindingService.ShowCode().)
Protected method ShowCode(Int32) Displays the code at the specified line. (Overrides EventBindingService.ShowCode(Int32).)
Protected method ShowCode(IComponent, EventDescriptor, String) Shows the body of the user code with the given method name and event descriptor. (Overrides EventBindingService.ShowCode(IComponent, EventDescriptor, String).)
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)
Protected method UseMethod Creates the method declaration for the given method name and event descriptor. (Overrides EventBindingService.UseMethod(IComponent, EventDescriptor, String).)
Protected method ValidateMethodName Validates the name of the method. (Overrides EventBindingService.ValidateMethodName(String).)

Top

Properties

  Name Description
Protected property CodeDomAdapter Gets the code DOM data adapter.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEventBindingService.CreateUniqueMethodName Creates a unique name for an event-handler method for the specified component and event. (Inherited from EventBindingService.)
Explicit interface implemetationPrivate method IEventBindingService.GetCompatibleMethods Gets a collection of event-handler methods that have a method signature compatible with the specified event. (Inherited from EventBindingService.)
Explicit interface implemetationPrivate method IEventBindingService.GetEvent Gets an EventDescriptor for the event that the specified property descriptor represents, if it represents an event. (Inherited from EventBindingService.)
Explicit interface implemetationPrivate method IEventBindingService.GetEventProperties Converts a set of event descriptors to a set of property descriptors. (Inherited from EventBindingService.)
Explicit interface implemetationPrivate method IEventBindingService.GetEventProperty Converts a single event descriptor to a property descriptor. (Inherited from EventBindingService.)
Explicit interface implemetationPrivate method IEventBindingService.ShowCode Displays the user code for the designer. (Inherited from EventBindingService.)
Explicit interface implemetationPrivate method IEventBindingService.ShowCode Displays the user code for the designer at the specified line. (Inherited from EventBindingService.)
Explicit interface implemetationPrivate method IEventBindingService.ShowCode Displays the user code for the specified event. (Inherited from EventBindingService.)

Top

See Also

Reference

CodeDomEventBindingService Class

Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom Namespace