ConstructorAdapter.HasMatchingSignature Method

Namespace
Kampute.DocToolkit.Metadata.Adapters
Assembly
  • Kampute.DocToolkit.dll

Definition

Determines whether the given constructor can be considered a base declaration of this constructor.
protected virtual bool HasMatchingSignature(IConstructor baseCandidate)

Parameters

baseCandidate IConstructor
The other constructor to compare against.

Returns

bool
true if the given constructor can be considered a base declaration; otherwise, false.

Remarks

This method checks whether the candidate constructor has the same parameter signature as this constructor. It does not consider other factors such as accessibility or being declared as static or instance.