Skip to content

EventInfoExtensions Class ​

Definition ​

Extension methods for EventInfo.

c#
public static class EventInfoExtensions

View source

Methods ​

NameDescription
GetAccessibility(EventInfo)Returns the Accessibility of the specified EventInfo.
IsProtected(EventInfo)Returns true if the event is protected as viewed from an external assembly, that is, its Accessibility is Protected or ProtectedInternal; false otherwise.
IsPublic(EventInfo)Returns true if the event is public, that is, its Accessibility is Public; false otherwise.
IsPublicOrProtected(EventInfo)Returns true if the event is public or protected as viewed from an external assembly, that is, its Accessibility is Public, Protected or ProtectedInternal; false otherwise.