다음을 통해 공유


RootComponentMappingCollection.Add 메서드

정의

오버로드

Add(Type, String)

컬렉션에 구성 요소 매핑을 추가합니다.

Add(Type, String, ParameterView)

컬렉션에 구성 요소 매핑을 추가합니다.

Add<TComponent>(String)

컬렉션에 구성 요소 매핑을 추가합니다.

Add(Type, String)

Source:
RootComponentMappingCollection.cs
Source:
RootComponentMappingCollection.cs
Source:
RootComponentMappingCollection.cs
Source:
RootComponentMappingCollection.cs
Source:
RootComponentMappingCollection.cs
Source:
RootComponentMappingCollection.cs

컬렉션에 구성 요소 매핑을 추가합니다.

public:
 void Add(Type ^ componentType, System::String ^ selector);
public void Add (Type componentType, string selector);
override this.Add : Type * string -> unit
Public Sub Add (componentType As Type, selector As String)

매개 변수

componentType
Type

구성 요소 유형입니다. 을 구현 IComponent해야 합니다.

selector
String

DOM 요소 선택기입니다.

적용 대상

Add(Type, String, ParameterView)

Source:
RootComponentMappingCollection.cs
Source:
RootComponentMappingCollection.cs
Source:
RootComponentMappingCollection.cs
Source:
RootComponentMappingCollection.cs
Source:
RootComponentMappingCollection.cs

컬렉션에 구성 요소 매핑을 추가합니다.

public:
 void Add(Type ^ componentType, System::String ^ selector, Microsoft::AspNetCore::Components::ParameterView parameters);
public void Add (Type componentType, string selector, Microsoft.AspNetCore.Components.ParameterView parameters);
override this.Add : Type * string * Microsoft.AspNetCore.Components.ParameterView -> unit
Public Sub Add (componentType As Type, selector As String, parameters As ParameterView)

매개 변수

componentType
Type

구성 요소 유형입니다. 을 구현 IComponent해야 합니다.

selector
String

DOM 요소 선택기입니다.

parameters
ParameterView

루트 구성 요소에 대한 매개 변수입니다.

적용 대상

Add<TComponent>(String)

Source:
RootComponentMappingCollection.cs
Source:
RootComponentMappingCollection.cs
Source:
RootComponentMappingCollection.cs
Source:
RootComponentMappingCollection.cs
Source:
RootComponentMappingCollection.cs
Source:
RootComponentMappingCollection.cs

컬렉션에 구성 요소 매핑을 추가합니다.

public:
generic <typename TComponent>
 where TComponent : Microsoft::AspNetCore::Components::IComponent void Add(System::String ^ selector);
public void Add<TComponent> (string selector) where TComponent : Microsoft.AspNetCore.Components.IComponent;
override this.Add : string -> unit (requires 'Component :> Microsoft.AspNetCore.Components.IComponent)
Public Sub Add(Of TComponent As IComponent) (selector As String)

형식 매개 변수

TComponent

구성 요소 유형입니다.

매개 변수

selector
String

DOM 요소 선택기입니다.

적용 대상