ITypeDecorator.Unwrap Method
- Namespace
- Kampute.DocToolkit.Metadata
- Assembly
- Kampute.DocToolkit.dll
Definition
Retrieves the underlying type by unwrapping any decorators such as arrays, pointers, by-ref, or nullable types.
IType Unwrap(Action<ITypeDecorator> decoratorVisitor = null)This method has a default implementation in the interface.
Parameters
decoratorVisitorAction<ITypeDecorator> optional- An optional action to invoke for each decorator encountered during unwrapping.
Returns
- IType
- The underlying type without any decorators.
