MemberInfoExtensions.IsPublic Method
Definition
Returns true if the member is public, that is, its Accessibility is Public; false otherwise.
c#
public static bool IsPublic(this MemberInfo member);Parameters
| Name | Type | Description |
|---|---|---|
member | MemberInfo | The member. |
Returns
true if the member is Public; false otherwise.