Open sandboxFocus

Interface IReflectionMapper

Provides a service to map .NET reflection Types to Roslyn ITypeSymbols.

Namespace: Metalama.Framework.Engine.CodeModel
Assembly: Metalama.Framework.Sdk.dll
Syntax
public interface IReflectionMapper
Remarks

This service is useful in aspect weavers when you need to convert a typeof() expression or a reflection Type instance to a Roslyn symbol for code generation.

Access this service through ReflectionMapper.

Methods

Name Description
GetTypeSymbol(Type)

Gets the Roslyn ITypeSymbol corresponding to a .NET reflection Type.

Extension Methods

See Also