1 instantiation of CascadingParameterInfo
Microsoft.AspNetCore.Components (1)
CascadingParameterState.cs (1)
128
result.Add(new
CascadingParameterInfo
(
60 references to CascadingParameterInfo
Microsoft.AspNetCore.Components (26)
CascadingParameterState.cs (10)
17
private static readonly ConcurrentDictionary<Type,
CascadingParameterInfo
[]> _cachedInfos = new();
19
public
CascadingParameterInfo
ParameterInfo { get; }
22
public CascadingParameterState(in
CascadingParameterInfo
parameterInfo, ICascadingValueSupplier valueSupplier)
52
ref
var
info = ref infos[infoIndex];
77
internal static ICascadingValueSupplier? GetMatchingCascadingValueSupplier(in
CascadingParameterInfo
info, Renderer renderer, ComponentState? componentState)
104
private static
CascadingParameterInfo
[] GetCascadingParameterInfos(
116
private static
CascadingParameterInfo
[] CreateCascadingParameterInfos(
119
List<
CascadingParameterInfo
>? result = null;
127
result ??= new List<
CascadingParameterInfo
>();
135
return result?.ToArray() ?? Array.Empty<
CascadingParameterInfo
>();
CascadingValue.cs (4)
129
bool ICascadingValueSupplier.CanSupplyValue(in
CascadingParameterInfo
parameterInfo)
143
object? ICascadingValueSupplier.GetCurrentValue(in
CascadingParameterInfo
parameterInfo)
148
void ICascadingValueSupplier.Subscribe(ComponentState subscriber, in
CascadingParameterInfo
parameterInfo)
161
void ICascadingValueSupplier.Unsubscribe(ComponentState subscriber, in
CascadingParameterInfo
parameterInfo)
CascadingValueSource.cs (4)
139
bool ICascadingValueSupplier.CanSupplyValue(in
CascadingParameterInfo
parameterInfo)
152
object? ICascadingValueSupplier.GetCurrentValue(in
CascadingParameterInfo
parameterInfo)
163
void ICascadingValueSupplier.Subscribe(ComponentState subscriber, in
CascadingParameterInfo
parameterInfo)
172
void ICascadingValueSupplier.Unsubscribe(ComponentState subscriber, in
CascadingParameterInfo
parameterInfo)
ICascadingValueSupplier.cs (4)
12
bool CanSupplyValue(in
CascadingParameterInfo
parameterInfo);
14
object? GetCurrentValue(in
CascadingParameterInfo
parameterInfo);
16
void Subscribe(ComponentState subscriber, in
CascadingParameterInfo
parameterInfo);
18
void Unsubscribe(ComponentState subscriber, in
CascadingParameterInfo
parameterInfo);
Routing\SupplyParameterFromQueryValueProvider.cs (4)
23
public bool CanSupplyValue(in
CascadingParameterInfo
parameterInfo)
26
public object? GetCurrentValue(in
CascadingParameterInfo
parameterInfo)
35
public void Subscribe(ComponentState subscriber, in
CascadingParameterInfo
parameterInfo)
51
public void Unsubscribe(ComponentState subscriber, in
CascadingParameterInfo
parameterInfo)
Microsoft.AspNetCore.Components.Tests (20)
CascadingParameterStateTest.cs (4)
486
public bool CanSupplyValue(in
CascadingParameterInfo
parameterInfo)
489
public object GetCurrentValue(in
CascadingParameterInfo
parameterInfo)
492
public void Subscribe(ComponentState subscriber, in
CascadingParameterInfo
parameterInfo)
495
public void Unsubscribe(ComponentState subscriber, in
CascadingParameterInfo
parameterInfo)
CascadingParameterTest.cs (8)
885
public bool CanSupplyValue(in
CascadingParameterInfo
parameterInfo)
888
public object GetCurrentValue(in
CascadingParameterInfo
parameterInfo)
891
public void Subscribe(ComponentState subscriber, in
CascadingParameterInfo
parameterInfo)
894
public void Unsubscribe(ComponentState subscriber, in
CascadingParameterInfo
parameterInfo)
1044
bool ICascadingValueSupplier.CanSupplyValue(in
CascadingParameterInfo
parameterInfo)
1056
object ICascadingValueSupplier.GetCurrentValue(in
CascadingParameterInfo
cascadingParameterState)
1061
void ICascadingValueSupplier.Subscribe(ComponentState subscriber, in
CascadingParameterInfo
parameterInfo)
1066
void ICascadingValueSupplier.Unsubscribe(ComponentState subscriber, in
CascadingParameterInfo
parameterInfo)
ParameterViewTest.Assignment.cs (4)
788
public bool CanSupplyValue(in
CascadingParameterInfo
parameterInfo)
793
public object GetCurrentValue(in
CascadingParameterInfo
parameterInfo)
798
public void Subscribe(ComponentState subscriber, in
CascadingParameterInfo
parameterInfo)
803
public void Unsubscribe(ComponentState subscriber, in
CascadingParameterInfo
parameterInfo)
ParameterViewTest.cs (4)
609
public bool CanSupplyValue(in
CascadingParameterInfo
parameterInfo)
612
public object GetCurrentValue(in
CascadingParameterInfo
parameterInfo)
615
public void Subscribe(ComponentState subscriber, in
CascadingParameterInfo
parameterInfo)
618
public void Unsubscribe(ComponentState subscriber, in
CascadingParameterInfo
parameterInfo)
Microsoft.AspNetCore.Components.Web (14)
Forms\Editor.cs (4)
56
bool ICascadingValueSupplier.CanSupplyValue(in
CascadingParameterInfo
parameterInfo) =>
59
object? ICascadingValueSupplier.GetCurrentValue(in
CascadingParameterInfo
parameterInfo)
64
void ICascadingValueSupplier.Subscribe(ComponentState subscriber, in
CascadingParameterInfo
parameterInfo)
69
void ICascadingValueSupplier.Unsubscribe(ComponentState subscriber, in
CascadingParameterInfo
parameterInfo)
Forms\Mapping\FormMappingScope.cs (4)
83
bool ICascadingValueSupplier.CanSupplyValue(in
CascadingParameterInfo
parameterInfo)
86
object? ICascadingValueSupplier.GetCurrentValue(in
CascadingParameterInfo
parameterInfo)
89
void ICascadingValueSupplier.Subscribe(ComponentState subscriber, in
CascadingParameterInfo
parameterInfo)
92
void ICascadingValueSupplier.Unsubscribe(ComponentState subscriber, in
CascadingParameterInfo
parameterInfo)
Forms\Mapping\SupplyParameterFromFormValueProvider.cs (5)
32
public bool CanSupplyValue(in
CascadingParameterInfo
parameterInfo)
49
public object? GetCurrentValue(in
CascadingParameterInfo
parameterInfo)
66
void ICascadingValueSupplier.Subscribe(ComponentState subscriber, in
CascadingParameterInfo
parameterInfo)
69
void ICascadingValueSupplier.Unsubscribe(ComponentState subscriber, in
CascadingParameterInfo
parameterInfo)
72
internal static object? GetFormPostValue(IFormValueMapper formValueMapper, FormMappingContext? mappingContext, in
CascadingParameterInfo
parameterInfo)
HtmlRendering\StaticHtmlRenderer.HtmlWriting.cs (1)
19
private static readonly
CascadingParameterInfo
_findFormMappingContext = new CascadingParameterInfo(