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