Method Load
Load(string, IReadOnlyList<string>, string)
Loads a plugin's assemblies from the copies of its files the manager made (its shadow copy). An assembly the presenter has itself, as OpenCAD2D, is not loaded a second time: the plugin is given the presenter's.
public abstract IReadOnlyList<Assembly> Load(string name, IReadOnlyList<string> files, string probeFolder)
Parameters
namestringThe plugin's name, which names its load context.
filesIReadOnlyList<string>The full paths of the .dll files to load, in ordinal order, all in one folder of copies.
probeFolderstringThe folder a dependency missing beside the copies is copied from when it is asked for: the folder of a bare .dll; null where the copies hold all of the plugin's files.
Returns
- IReadOnlyList<Assembly>
The assemblies loaded, in the order of the files; those the presenter has itself left out.