LazyAssemblyLoader.LoadAssembliesAsync(IEnumerable<String>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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