ReflectorResolveAssembly(String, Boolean, Boolean) Method
Note: This API is now obsolete.
Gets the
Assembly with the specified
assemblyName.
Namespace: KGySoft.ReflectionAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0
[ObsoleteAttribute("This overload is obsolete. Use the overloads with ResolveAssemblyOptions instead.")]
public static Assembly? ResolveAssembly(
string assemblyName,
bool tryToLoad,
bool matchBySimpleName
)
<ObsoleteAttribute("This overload is obsolete. Use the overloads with ResolveAssemblyOptions instead.")>
Public Shared Function ResolveAssembly (
assemblyName As String,
tryToLoad As Boolean,
matchBySimpleName As Boolean
) As Assembly
public:
[ObsoleteAttribute(L"This overload is obsolete. Use the overloads with ResolveAssemblyOptions instead.")]
static Assembly^ ResolveAssembly(
String^ assemblyName,
bool tryToLoad,
bool matchBySimpleName
)
[<ObsoleteAttribute("This overload is obsolete. Use the overloads with ResolveAssemblyOptions instead.")>]
static member ResolveAssembly :
assemblyName : string *
tryToLoad : bool *
matchBySimpleName : bool -> Assembly
- assemblyName String
- Name of the Assembly to retrieve. May contain a fully or partially defined assembly name.
- tryToLoad Boolean
- If , searches the assembly among the already loaded assemblies. If , tries to load the assembly when it is not already loaded.
- matchBySimpleName Boolean
- to ignore version, culture and public key token information differences;
to allow only an exact match with the provided information.
AssemblyAn
Assembly instance with the loaded assembly, or
if
assemblyName could not be resolved by the provided arguments.