Share via


LazyAssemblyLoader.LoadAssembliesAsync(IEnumerable<String>) Method

Definition

In a browser context, calling this method will fetch the assemblies requested via a network call and load them into the runtime. In a server or pre-rendered context, this method will look for the assemblies already loaded in the runtime and return them.

public:
 System::Threading::Tasks::Task<System::Collections::Generic::IEnumerable<System::Reflection::Assembly ^> ^> ^ LoadAssembliesAsync(System::Collections::Generic::IEnumerable<System::String ^> ^ assembliesToLoad);
public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<System.Reflection.Assembly>> LoadAssembliesAsync (System.Collections.Generic.IEnumerable<string> assembliesToLoad);
member this.LoadAssembliesAsync : seq<string> -> System.Threading.Tasks.Task<seq<System.Reflection.Assembly>>
Public Function LoadAssembliesAsync (assembliesToLoad As IEnumerable(Of String)) As Task(Of IEnumerable(Of Assembly))

Parameters

assembliesToLoad
IEnumerable<String>

The names of the assemblies to load (e.g. "MyAssembly.dll")

Returns

A list of the loaded Assembly

Applies to