Class ReflectionCachingOptions
Flags enum with options to control the degree of caching of reflection carried out by CachingDefaultReflectionProvider.
Inheritance
System.Object
ReflectionCachingOptions
Namespace: System.Reflection
Assembly: Nuqleon.Reflection.Virtualization.dll
Syntax
public sealed class ReflectionCachingOptions : Enum
Fields
All
Enables all caching options.
Declaration
public const ReflectionCachingOptions All
Field Value
Type | Description |
---|---|
ReflectionCachingOptions |
CreationGenericObjects
Enables caching of MakeGeneric methods.
Declaration
public const ReflectionCachingOptions CreationGenericObjects
Field Value
Type | Description |
---|---|
ReflectionCachingOptions |
IntrospectionCustomAttributes
Enables caching of GetCustomAttributes and related methods such as IsDefined.
Declaration
public const ReflectionCachingOptions IntrospectionCustomAttributes
Field Value
Type | Description |
---|---|
ReflectionCachingOptions |
IntrospectionFindMethods
Enables caching of FindInterfaces, FindTypes, and FindMembers.
Declaration
public const ReflectionCachingOptions IntrospectionFindMethods
Field Value
Type | Description |
---|---|
ReflectionCachingOptions |
IntrospectionGetMethods
Enables caching of GetFields, GetMethods, etc. methods.
Declaration
public const ReflectionCachingOptions IntrospectionGetMethods
Field Value
Type | Description |
---|---|
ReflectionCachingOptions |
None
Disables all caching.
Declaration
public const ReflectionCachingOptions None
Field Value
Type | Description |
---|---|
ReflectionCachingOptions |
value__
Declaration
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |