PropertyInfoExtensions.HasPublicOrProtectedOverloads Method
Definition
Returns true
if the specified PropertyInfo has public or protected overloads, as viewed from an external assembly, i.e. their Accessibility is Public, Protected or ProtectedInternal; false
otherwise. Only applies to indexer properties.
public static bool HasPublicOrProtectedOverloads(this PropertyInfo property);
Parameters
Name | Type | Description |
---|---|---|
property | The property. |
Returns
true
if property
has public or protected overloads; false
otherwise.
Last modified: 17 December 2024