RazorComponentResult Конструкторы

Определение

Перегрузки

RazorComponentResult(Type)

Создает экземпляр RazorComponentResult.

RazorComponentResult(Type, IReadOnlyDictionary<String,Object>)

Создает экземпляр RazorComponentResult.

RazorComponentResult(Type, Object)

Создает экземпляр RazorComponentResult.

RazorComponentResult(Type)

Создает экземпляр RazorComponentResult.

public RazorComponentResult (Type componentType);
new Microsoft.AspNetCore.Http.HttpResults.RazorComponentResult : Type -> Microsoft.AspNetCore.Http.HttpResults.RazorComponentResult
Public Sub New (componentType As Type)

Параметры

componentType
Type

Тип компонента для отрисовки. Он должен реализовывать IComponent.

Применяется к

RazorComponentResult(Type, IReadOnlyDictionary<String,Object>)

Создает экземпляр RazorComponentResult.

public RazorComponentResult (Type componentType, System.Collections.Generic.IReadOnlyDictionary<string,object?> parameters);
new Microsoft.AspNetCore.Http.HttpResults.RazorComponentResult : Type * System.Collections.Generic.IReadOnlyDictionary<string, obj> -> Microsoft.AspNetCore.Http.HttpResults.RazorComponentResult
Public Sub New (componentType As Type, parameters As IReadOnlyDictionary(Of String, Object))

Параметры

componentType
Type

Тип компонента для отрисовки. Он должен реализовывать IComponent.

parameters
IReadOnlyDictionary<String,Object>

Параметры компонента.

Применяется к

RazorComponentResult(Type, Object)

Создает экземпляр RazorComponentResult.

public RazorComponentResult (Type componentType, object parameters);
new Microsoft.AspNetCore.Http.HttpResults.RazorComponentResult : Type * obj -> Microsoft.AspNetCore.Http.HttpResults.RazorComponentResult
Public Sub New (componentType As Type, parameters As Object)

Параметры

componentType
Type

Тип компонента для отрисовки. Он должен реализовывать IComponent.

parameters
Object

Параметры компонента.

Применяется к