MrKWatkins.Reflection 1.3.1 Help

EventInfoExtensions.IsPublicOrProtected Method

Definition

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.

public static bool IsPublicOrProtected(this EventInfo @event);

Parameters

Name

Type

Description

event

EventInfo

The event.

Returns

Boolean

true if the event is Public, Protected or ProtectedInternal; false otherwise.

Last modified: 17 December 2024