MemberAdapterRepository.CreateEventMetadata Method

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

Definition

Creates event metadata for the specified reflection event.
protected virtual IEvent CreateEventMetadata(EventInfo eventInfo)

Parameters

eventInfo EventInfo
The reflection event to create metadata for.

Returns

IEvent
The metadata representation of the specified event.

Exceptions

ArgumentNullException
Thrown when eventInfo is null.
ArgumentException
Thrown when the provided event does not belong to the assembly of this provider.