Skip to content

EventInfoExtensions.IsPublic Method ​

Definition ​

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

c#
public static bool IsPublic(this EventInfo @event);

View source

Parameters ​

NameTypeDescription
eventEventInfoThe event.

Returns ​

Boolean

true if the event is Public; false otherwise.