AdapterHelper.EquivalentParameters Method
- Namespace
- Kampute.DocToolkit.Metadata.Adapters
- Assembly
- Kampute.DocToolkit.dll
Definition
Determines whether two parameter lists represent equivalent signatures from the perspective of method overriding or interface implementation.
public static bool EquivalentParameters(IReadOnlyList<IParameter> targetParameters, IReadOnlyList<IParameter> sourceParameters)Parameters
targetParametersIReadOnlyList<IParameter>- The overridden or interface parameter list to compare against.
sourceParametersIReadOnlyList<IParameter>- The overriding or implementing parameter list to compare.
Returns
Exceptions
- ArgumentNullException
- Thrown when
targetParametersorsourceParametersisnull.
