Method LoadAssemblies
LoadAssemblies(IEnumerable<string>)
Loads a set of assemblies by their names and returns those that are successfully resolved.
public static IEnumerable<Assembly> LoadAssemblies(IEnumerable<string> assemblies)
Parameters
assembliesIEnumerable<string>A collection of assembly name strings to be loaded. These can be simple names (e.g., "System.Xml") or fully qualified assembly names.
Returns
- IEnumerable<Assembly>
An IEnumerable<T> containing the assemblies that were successfully loaded. Assemblies that cannot be resolved or are null are excluded from the result.
Remarks
Uses AssemblyUtils.GetOrLoadAssemblyByName to perform loading.
If an assembly name does not
correspond to a valid or accessible assembly, it is silently skipped.