MrKWatkins.Reflection 1.3.1 Help

ConstructorInfoExtensions.HasPublicOrProtectedOverloads Method

Definition

Returns true if the specified ConstructorInfo has public or protected overloads, as viewed from an external assembly, i.e. their Accessibility is Public, Protected or ProtectedInternal; false otherwise.

public static bool HasPublicOrProtectedOverloads(this ConstructorInfo constructor);

Parameters

Name

Type

Description

constructor

ConstructorInfo

The method.

Returns

Boolean

true if constructor has public or protected overloads; false otherwise.

Last modified: 17 December 2024