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
declaringTypeTypeModel- The declaring type of the event.
evtIEvent- The metadata of the event represented by this instance.
Exceptions
- ArgumentNullException
- Thrown when
declaringTypeorevtisnull. - ArgumentException
- Thrown when
evtis not an event ofdeclaringType.
