EventInfoExtensions.IsProtected Method
Definition
Returns true if the event is protected as viewed from an external assembly, that is, its Accessibility is Protected or ProtectedInternal; false otherwise.
c#
public static bool IsProtected(this EventInfo @event);Parameters
| Name | Type | Description |
|---|---|---|
event | EventInfo | The event. |
Returns
true if the event is Protected or ProtectedInternal; false otherwise.