EventAdapter.GetEventsWithSameName Method

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

Definition

Retrieves events from the specified type that have the same name as this event.
protected IEnumerable<IEvent> GetEventsWithSameName(IType type, bool preserveOrder = false)

Parameters

type IType
The type to search for similar property names.
preserveOrder bool optional
Indicates whether to preserve the order of events as they appear in the type.

Returns

IEnumerable<IEvent>
An enumerable collection of IEvent objects with same name as this event.