1 write to Type
Microsoft.AspNetCore.Components (1)
DynamicComponent.cs (1)
71
Type
= (Type)entry.Value;
9 references to Type
Microsoft.AspNetCore.Components (5)
DynamicComponent.cs (5)
11
/// <see cref="
Type
" /> parameter.
69
if (entry.Name.Equals(nameof(
Type
), StringComparison.OrdinalIgnoreCase))
84
if (
Type
is null)
86
throw new InvalidOperationException($"{nameof(DynamicComponent)} requires a non-null value for the parameter {nameof(
Type
)}.");
95
builder.OpenComponent(0,
Type
);
Microsoft.AspNetCore.Components.Tests (4)
DynamicComponentTest.cs (4)
39
$"{ nameof(DynamicComponent)} requires a non-null value for the parameter {nameof(DynamicComponent.
Type
)}.",
52
{ nameof(DynamicComponent.
Type
), typeof(TestComponent) },
80
{ nameof(DynamicComponent.
Type
), typeof(TestComponent) },
114
{ nameof(DynamicComponent.
Type
), typeof(TestComponent) },