Table of Contents

Interface IDocumentEvent

Namespace
SharpVectors.Dom.Events
Assembly
SharpVectors.Core.dll

The IDocumentEvent interface provides a mechanism by which the user can create an IEvent object of a type supported by the implementation. It is expected that the IDocumentEvent interface will be implemented on the same object which implements the IDocument interface in an implementation which supports the IEvent model.

public interface IDocumentEvent

Methods

CanDispatch(string, string)

Test if the implementation can generate events of a specified type.

CreateEvent(string)

The CreateEvent method is used in creating IEvents when it is either inconvenient or unnecessary for the user to create an IEvent themselves.