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);Parameters
| Name | Type | Description |
|---|---|---|
event | EventInfo | The event. |
Returns
true if the event is Public; false otherwise.