public void Terminate() { AppDomain.CurrentDomain.AssemblyResolve -= this.CurrentDomain_AssemblyResolve; AppDomain.CurrentDomain.AssemblyLoad -= this.CurrentDomain_AssemblyLoad; this.resolveCallback = null; }
public void Init(ResolveAssemblyCallback resolveCallback) { this.resolveCallback = resolveCallback; AppDomain.CurrentDomain.AssemblyResolve += this.CurrentDomain_AssemblyResolve; AppDomain.CurrentDomain.AssemblyLoad += this.CurrentDomain_AssemblyLoad; }
void IPluginLoader.Init(ResolveAssemblyCallback resolveCallback) { }