Note
Depending on the type system of the current platform it can happen that new assemblies of unmatching identity are loaded even if this flag is disabled.
In such case the loaded assemblies are ignored.
[FlagsAttribute]
public enum ResolveTypeOptions
<FlagsAttribute>
Public Enumeration ResolveTypeOptions
[FlagsAttribute]
public enum class ResolveTypeOptions
[<FlagsAttribute>]
type ResolveTypeOptions
None | 0x00 | Represents no enabled options. |
TryToLoadAssemblies | 0x01 | If this flag is enabled, then the Reflector.ResolveType methods try to load the assemblies optionally present in the type name if they are not loaded yet. Otherwise, the assemblies are tried to be located among the already loaded assemblies. Default state at Reflector.ResolveType methods: Enabled |
AllowPartialAssemblyMatch | 0x02 | If this flag is enabled, then the Reflector.ResolveType methods allow to resolve assembly names optionally present in the type name by partial name. If this flag is disabled, then the provided assembly information must match (which still can be partially specified). If a type name is specified without an assembly, then this flag is ignored (as if the AllowIgnoreAssemblyName was set). Default state at Reflector.ResolveType methods: Enabled |
AllowIgnoreAssemblyName | 0x04 | If a type is specified with an assembly name, which cannot be resolved at all, then this flag makes possible to completely ignore the assembly information and that the Reflector.ResolveType methods can return a type by its full name from any loaded assembly. If a type name is specified without an assembly, then it will be tried to be resolved from the loaded assemblies as if this flag was enabled. If this flag is enabled, then the AllowPartialAssemblyMatch flag is ignored. Default state at Reflector.ResolveType methods: Disabled |
IgnoreCase | 0x08 | If this flag is enabled, then the type name is identified in a case-insensitive manner. Default state at Reflector.ResolveType methods: Disabled |
ThrowError | 0x10 | If this flag is enabled and the type cannot be resolved, then a ReflectionException will be thrown from the Reflector.ResolveType methods. Default state at Reflector.ResolveType methods: Disabled |