MethodBaseExtensions Class
Definition
Extension methods for MethodBase.
c#
public static class MethodBaseExtensionsMethods
| Name | Description |
|---|---|
EnumerateOverloads(MethodBase) | Enumerates the overloads of the specified method that are declared in the same type. |
GetAccessibility(MethodBase) | Returns the Accessibility of the specified MethodBase. |
HasPublicOrProtectedOverloads(MethodBase) | Returns true if the specified MethodBase has public or protected overloads, as viewed from an external assembly, that is, their Accessibility is Public, Protected or ProtectedInternal; false otherwise. |
IsProtected(MethodBase) | Returns true if the method is protected as viewed from an external assembly, that is, its Accessibility is Protected or ProtectedInternal; false otherwise. |
IsPublic(MethodBase) | Returns true if the method is public, that is, its Accessibility is Public; false otherwise. |
IsPublicOrProtected(MethodBase) | Returns true if the method is public or protected as viewed from an external assembly, that is, its Accessibility is Public, Protected or ProtectedInternal; false otherwise. |