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