Class AssemblyReferenceResolver
- Namespace
- Xarial.XToolkit.Reflection
- Assembly
- BlueByte.SOLIDWORKS.PDMProfessional.SDK.dll
Simple resolve for the assembly references
public class AssemblyReferenceResolver : IDisposable
- Inheritance
-
AssemblyReferenceResolver
- Implements
- Inherited Members
Remarks
Resolver will consider the following rules to load missing references 1 - Loading local references only (if requesting assembly is in the working directory) 2 - Loading target or newer version 3 - Loading from work directory and sub-directories 4 - Loading matched name, public key and culture 5 - Loading nearest available version
Constructors
AssemblyReferenceResolver(AppDomain, string, string)
Starts monitoring and loading missin assemblies
public AssemblyReferenceResolver(AppDomain appDomain, string workDir, string logName)
Parameters
appDomain
AppDomainApplication domain
workDir
stringWorking directories to look for the assmebly to load
logName
stringName of the trace log
Methods
Dispose()
public void Dispose()