AdapterHelper Class

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

Definition

Provides helper methods for adapter implementations.
public static class AdapterHelper
Inheritance

Thread Safety

Public static members of the type are guaranteed to be thread-safe.

Methods

AreParameterSignaturesMatching(IReadOnlyList<IParameter>, IReadOnlyList<IParameter>)Determines whether two parameter lists represent equivalent signatures from the perspective of method overriding or interface implementation.
CanonicalizeType(Type)Resolves the canonical form of a type.
DecodeExplicitName(string)Decodes an explicit interface implementation name into its interface and member components.
FindByFullName<T>(this IReadOnlyList<T>, string)Finds the index of a type by full name using binary search.
FindByName<T>(this IReadOnlyList<T>, string)Finds a member by name using binary search.
FindIndexByName<T>(this IReadOnlyList<T>, string)Finds the index of a member by name using binary search.
WhereName<T>(this IReadOnlyList<T>, string, bool)Filters members by name using binary search.