Share via


RootComponentMappingCollection Class

Definition

Defines a collection of RootComponentMapping items.

public ref class RootComponentMappingCollection : System::Collections::ObjectModel::Collection<Microsoft::AspNetCore::Components::WebAssembly::Hosting::RootComponentMapping>
public class RootComponentMappingCollection : System.Collections.ObjectModel.Collection<Microsoft.AspNetCore.Components.WebAssembly.Hosting.RootComponentMapping>
public class RootComponentMappingCollection : System.Collections.ObjectModel.Collection<Microsoft.AspNetCore.Components.WebAssembly.Hosting.RootComponentMapping>, Microsoft.AspNetCore.Components.Web.IJSComponentConfiguration
type RootComponentMappingCollection = class
    inherit Collection<RootComponentMapping>
type RootComponentMappingCollection = class
    inherit Collection<RootComponentMapping>
    interface IJSComponentConfiguration
Public Class RootComponentMappingCollection
Inherits Collection(Of RootComponentMapping)
Public Class RootComponentMappingCollection
Inherits Collection(Of RootComponentMapping)
Implements IJSComponentConfiguration
Inheritance
RootComponentMappingCollection
Implements

Constructors

RootComponentMappingCollection()

Properties

JSComponents

Gets the store of configuration options that allow JavaScript to add root components dynamically.

Methods

Add(Type, String, ParameterView)

Adds a component mapping to the collection.

Add(Type, String)

Adds a component mapping to the collection.

Add<TComponent>(String)

Adds a component mapping to the collection.

AddRange(IEnumerable<RootComponentMapping>)

Adds a collection of items to this collection.

Extension Methods

RegisterCustomElement<TComponent>(IJSComponentConfiguration, String)
RegisterForJavaScript(IJSComponentConfiguration, Type, String, String)

Marks the specified component type as allowed for instantiation from JavaScript.

RegisterForJavaScript(IJSComponentConfiguration, Type, String)

Marks the specified component type as allowed for instantiation from JavaScript.

RegisterForJavaScript<TComponent>(IJSComponentConfiguration, String, String)

Marks the specified component type as allowed for instantiation from JavaScript.

RegisterForJavaScript<TComponent>(IJSComponentConfiguration, String)

Marks the specified component type as allowed for instantiation from JavaScript.

Applies to