RazorComponentResult<TComponent> Constructors
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.
Overloads
RazorComponentResult<TComponent>() |
Constructs an instance of RazorComponentResult. |
RazorComponentResult<TComponent>(IReadOnlyDictionary<String,Object>) |
Constructs an instance of RazorComponentResult. |
RazorComponentResult<TComponent>(Object) |
Constructs an instance of RazorComponentResult. |
RazorComponentResult<TComponent>()
- Source:
- RazorComponentResultOfT.cs
Constructs an instance of RazorComponentResult.
public RazorComponentResult ();
Public Sub New ()
Applies to
RazorComponentResult<TComponent>(IReadOnlyDictionary<String,Object>)
- Source:
- RazorComponentResultOfT.cs
Constructs an instance of RazorComponentResult.
public RazorComponentResult (System.Collections.Generic.IReadOnlyDictionary<string,object?> parameters);
new Microsoft.AspNetCore.Http.HttpResults.RazorComponentResult<'Component (requires 'Component :> Microsoft.AspNetCore.Components.IComponent)> : System.Collections.Generic.IReadOnlyDictionary<string, obj> -> Microsoft.AspNetCore.Http.HttpResults.RazorComponentResult<'Component (requires 'Component :> Microsoft.AspNetCore.Components.IComponent)>
Public Sub New (parameters As IReadOnlyDictionary(Of String, Object))
Parameters
- parameters
- IReadOnlyDictionary<String,Object>
Parameters for the component.
Applies to
RazorComponentResult<TComponent>(Object)
- Source:
- RazorComponentResultOfT.cs
Constructs an instance of RazorComponentResult.
public RazorComponentResult (object parameters);
new Microsoft.AspNetCore.Http.HttpResults.RazorComponentResult<'Component (requires 'Component :> Microsoft.AspNetCore.Components.IComponent)> : obj -> Microsoft.AspNetCore.Http.HttpResults.RazorComponentResult<'Component (requires 'Component :> Microsoft.AspNetCore.Components.IComponent)>
Public Sub New (parameters As Object)
Parameters
- parameters
- Object
Parameters for the component.