48 instantiations of CascadingParameterAttribute
Aspire.Dashboard (16)
Components\Controls\Chart\PlotlyChart.razor.cs (1)
35
[
CascadingParameter
]
Components\Controls\GridValue.razor.cs (1)
85
[
CascadingParameter
]
Components\Controls\ResourceActions.razor.cs (1)
53
[
CascadingParameter
]
Components\Controls\StructuredLogActions.razor.cs (1)
35
[
CascadingParameter
]
Components\Controls\SummaryDetailsView.razor.cs (1)
70
[
CascadingParameter
]
Components\Controls\UserProfile.razor.cs (1)
26
[
CascadingParameter
]
Components\Dialogs\FilterDialog.razor.cs (1)
20
[
CascadingParameter
]
Components\Layout\AspirePageContentLayout.razor.cs (1)
12
[
CascadingParameter
]
Components\Layout\MainLayout.razor.cs (1)
68
[
CascadingParameter
]
Components\Pages\ConsoleLogs.razor.cs (1)
70
[
CascadingParameter
]
Components\Pages\Error.razor.cs (1)
11
[
CascadingParameter
]
Components\Pages\Login.razor.cs (1)
36
[
CascadingParameter
]
Components\Pages\Metrics.razor.cs (1)
65
[
CascadingParameter
]
Components\Pages\Resources.razor.cs (1)
45
[
CascadingParameter
]
Components\Pages\StructuredLogs.razor.cs (1)
82
[
CascadingParameter
]
Components\Pages\Traces.razor.cs (1)
81
[
CascadingParameter
]
Microsoft.AspNetCore.Components.Authorization (2)
AuthorizeRouteView.cs (1)
66
[
CascadingParameter
]
AuthorizeViewCore.cs (1)
44
[
CascadingParameter
] private Task<AuthenticationState>? AuthenticationState { get; set; }
Microsoft.AspNetCore.Components.Authorization.Tests (1)
CascadingAuthenticationStateTest.cs (1)
157
[
CascadingParameter
] Task<AuthenticationState> AuthStateTask { get; set; }
Microsoft.AspNetCore.Components.Endpoints (1)
Assets\ImportMap.cs (1)
22
[
CascadingParameter
] public HttpContext? HttpContext { get; set; } = null;
Microsoft.AspNetCore.Components.Forms (1)
DataAnnotationsValidator.cs (1)
14
[
CascadingParameter
] EditContext? CurrentEditContext { get; set; }
Microsoft.AspNetCore.Components.QuickGrid (2)
Columns\ColumnBase.razor.cs (1)
16
[
CascadingParameter
] internal InternalGridContext<TGridItem> InternalGridContext { get; set; } = default!;
Infrastructure\ColumnsCollectedNotifier.cs (1)
40
[
CascadingParameter
] internal InternalGridContext<TGridItem> InternalGridContext { get; set; } = default!;
Microsoft.AspNetCore.Components.Tests (15)
CascadingParameterStateTest.cs (5)
455
[
CascadingParameter
] internal ValueType1 CascadingParam1 { get; set; }
456
[
CascadingParameter
] internal ValueType2 CascadingParam2 { get; set; }
463
[
CascadingParameter
] internal ValueType3 CascadingParam3 { get; set; }
468
[
CascadingParameter
] internal T LocalName { get; set; }
473
[
CascadingParameter
(Name = "MatchOnName")]
CascadingParameterTest.cs (6)
927
[
CascadingParameter
] T CascadingParameter { get; set; }
961
[
CascadingParameter
] MyParamType CascadingParameter { get; set; }
981
[
CascadingParameter
] MyParamType CascadingParameter { get; set; }
996
[
CascadingParameter
] string CascadingParameter { get; set; }
1018
[
CascadingParameter
] T2 SecondCascadingParameter { get; set; }
1096
[
CascadingParameter
(Name = "My cascading parameter name")]
ParameterViewTest.Assignment.cs (4)
646
[
CascadingParameter
] public string Cascading { get; set; }
706
[
CascadingParameter
] public string Cascading { get; set; }
723
[
CascadingParameter
] private string Cascading { get; set; }
730
[Parameter,
CascadingParameter
] public string Parameter { get; set; }
Microsoft.AspNetCore.Components.Web (10)
Forms\EditForm.cs (1)
90
[
CascadingParameter
] private FormMappingContext? MappingContext { get; set; }
Forms\Editor.cs (1)
32
[
CascadingParameter
] private HtmlFieldPrefix FieldPrefix { get; set; } = default!;
Forms\InputBase.cs (2)
29
[
CascadingParameter
] private EditContext? CascadedEditContext { get; set; }
31
[
CascadingParameter
] private HtmlFieldPrefix FieldPrefix { get; set; } = default!;
Forms\InputRadio.cs (1)
46
[
CascadingParameter
] private InputRadioContext? CascadedContext { get; set; }
Forms\InputRadioGroup.cs (1)
28
[
CascadingParameter
] private InputRadioContext? CascadedContext { get; set; }
Forms\Mapping\FormMappingValidator.cs (1)
16
[
CascadingParameter
] internal FormMappingContext? MappingContext { get; set; }
Forms\ValidationMessage.cs (1)
24
[
CascadingParameter
] EditContext CurrentEditContext { get; set; } = default!;
Forms\ValidationSummary.cs (1)
31
[
CascadingParameter
] EditContext CurrentEditContext { get; set; } = default!;
HtmlRendering\StaticHtmlRenderer.HtmlWriting.cs (1)
20
new
CascadingParameterAttribute
(),
14 references to CascadingParameterAttribute
Microsoft.AspNetCore.Components (8)
CascadingValue.cs (1)
131
if (parameterInfo.Attribute is not
CascadingParameterAttribute
cascadingParameterAttribute || !parameterInfo.PropertyType.IsAssignableFrom(typeof(TValue)))
CascadingValueServiceCollectionExtensions.cs (2)
32
/// <param name="name">A name for the cascading value. If set, <see cref="
CascadingParameterAttribute
"/> can be configured to match based on this name.</param>
79
/// <param name="name">A name for the cascading value. If set, <see cref="
CascadingParameterAttribute
"/> can be configured to match based on this name.</param>
CascadingValueSource.cs (4)
12
/// <see cref="
CascadingParameterAttribute
"/>.
40
/// <param name="name">A name for the cascading value. If set, <see cref="
CascadingParameterAttribute
"/> can be configured to match based on this name.</param>
62
/// <param name="name">A name for the cascading value. If set, <see cref="
CascadingParameterAttribute
"/> can be configured to match based on this name.</param>
141
if (parameterInfo.Attribute is not
CascadingParameterAttribute
cascadingParameterAttribute || !parameterInfo.PropertyType.IsAssignableFrom(typeof(TValue)))
ComponentBase.cs (1)
254
/// decorated with <see cref="ParameterAttribute" /> or <see cref="
CascadingParameterAttribute
" /> that has
Microsoft.AspNetCore.Components.Analyzers.Tests (2)
ComponentParameterSettersShouldBePublicTest.cs (1)
18
using {typeof(
CascadingParameterAttribute
).Namespace};
ComponentsTestDeclarations.cs (1)
16
public class {typeof(
CascadingParameterAttribute
).Name} : System.Attribute
Microsoft.AspNetCore.Components.SdkAnalyzers.Tests (2)
ComponentParameterSettersShouldBePublicTest.cs (1)
18
using {typeof(
CascadingParameterAttribute
).Namespace};
ComponentsTestDeclarations.cs (1)
16
public class {typeof(
CascadingParameterAttribute
).Name} : System.Attribute
Microsoft.AspNetCore.Components.Web (2)
Forms\Mapping\SupplyParameterFromFormValueProvider.cs (2)
35
if (parameterInfo.Attribute is
CascadingParameterAttribute
&& parameterInfo.PropertyType == typeof(FormMappingContext))
52
if (parameterInfo.Attribute is
CascadingParameterAttribute
&& parameterInfo.PropertyType == typeof(FormMappingContext))