Class ReflectionTypeShapeProviderOptions
- Namespace
- PolyType.ReflectionProvider
- Assembly
- PolyType.dll
Exposes configuration options for the reflection-based type shape provider.
public sealed record ReflectionTypeShapeProviderOptions : IEquatable<ReflectionTypeShapeProviderOptions>
- Inheritance
-
ReflectionTypeShapeProviderOptions
- Implements
- Inherited Members
Properties
Default
Gets the default configuration options.
public static ReflectionTypeShapeProviderOptions Default { get; }
Property Value
UseReflectionEmit
Gets a value indicating whether System.Reflection.Emit should be used when generating member accessors.
public bool UseReflectionEmit { get; init; }
Property Value
Remarks
Defaults to true
if the runtime supports dynamic code generation.