IMemberAdapterRepository.ResolveCanonicalType Method
- Namespace
- Kampute.DocToolkit.Metadata
- Assembly
- Kampute.DocToolkit.dll
Definition
Resolves the canonical form of a type.
Type ResolveCanonicalType(Type type)Parameters
typeType- The type to resolve.
Returns
- Type
- A Type instance that is reference-equal to the canonical type definition if applicable; otherwise, the original
type.

This method ensures that when such types are encountered, they are converted back to their generic type definitions and thus reference-equal to instances obtained directly via
typeofexpressions.