EventAdapter Constructor

Namespace
Kampute.DocToolkit.Metadata.Adapters
Assembly
  • Kampute.DocToolkit.dll

Definition

Initializes a new instance of the EventAdapter class.
public EventAdapter(IType declaringType, EventInfo eventInfo)

Parameters

declaringType IType
The declaring type of the event.
eventInfo EventInfo
The event to wrap.

Exceptions

ArgumentNullException
Thrown when declaringType or eventInfo is null.
ArgumentException
Thrown when eventInfo is not an event of declaringType.