LazyAssemblyLoader Class

Definition

Provides a service for loading assemblies at runtime in a browser context.

Supports finding pre-loaded assemblies in a server or pre-rendering context.

public ref class LazyAssemblyLoader sealed
public sealed class LazyAssemblyLoader
type LazyAssemblyLoader = class
Public NotInheritable Class LazyAssemblyLoader
Inheritance
LazyAssemblyLoader

Constructors

LazyAssemblyLoader(IJSRuntime)

Initializes a new instance of LazyAssemblyLoader.

Methods

LoadAssembliesAsync(IEnumerable<String>)

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.

Applies to