MrKWatkins.Reflection 1.3.1 Help

EventInfoExtensions Class

Definition

Extension methods for EventInfo.

public static class EventInfoExtensions

Methods

Name

Description

GetAccessibility(EventInfo)

Returns the Accessibility of the specified EventInfo.

IsProtected(EventInfo)

Returns true if the event is protected as viewed from an external assembly, i.e. its Accessibility is Protected or ProtectedInternal; false otherwise.

IsPublic(EventInfo)

Returns true if the event is public, i.e. its Accessibility is Public; false otherwise.

IsPublicOrProtected(EventInfo)

Returns true if the event is public or protected as viewed from an external assembly, i.e. its Accessibility is Public, Protected or ProtectedInternal; false otherwise.

Last modified: 17 December 2024