EventModel Constructor

Namespace
Kampute.DocToolkit.Models
Assembly
  • Kampute.DocToolkit.dll

Definition

Initializes a new instance of the EventModel class.
public EventModel(TypeModel declaringType, IEvent evt)

Parameters

declaringType TypeModel
The declaring type of the event.
evt IEvent
The metadata of the event represented by this instance.

Exceptions

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