ReflectionFallbackContext
NexusLabs.Needlr.Injection.Reflection¶
NexusLabs.Needlr.Injection.Reflection¶
ReflectionFallbackContext Class¶
Provides context information when a reflection-based component is used as a fallback because no source-generated component is available.
Inheritance System.Object 🡒 ReflectionFallbackContext
Properties¶
ReflectionFallbackContext.ComponentName Property¶
Gets the name of the component that triggered the reflection fallback.
Property Value¶
ReflectionFallbackContext.GeneratedComponentType Property¶
Gets the type of the source-generated component that would have been used if available. May be null if the reflection package doesn't have visibility to source-gen types.
Property Value¶
ReflectionFallbackContext.Reason Property¶
Gets a description of why the fallback occurred.
Property Value¶
ReflectionFallbackContext.ReflectionComponentType Property¶
Gets the type of the reflection-based component being used.