2 writes to Value
Microsoft.AspNetCore.Components (2)
CascadingValue.cs (2)
60Value = default; 69Value = (TValue)parameter.Value;
15 references to Value
Aspire.Dashboard.Components.Tests (6)
Controls\AspireMenuTests.cs (3)
44builder.Add(p => p.Value, false); 99builder.Add(p => p.Value, false); 114builder.Add(p => p.Value, false);
Layout\MainLayoutTests.cs (2)
980builder.Add(p => p.Value, new ViewportInformation(IsDesktop: initialIsDesktop, IsUltraLowHeight: false, IsUltraLowWidth: false)); 1003parameters.Add(p => p.Value, new ViewportInformation(IsDesktop: closingIsDesktop, IsUltraLowHeight: false, IsUltraLowWidth: false));
Pages\ConsoleLogsTests.cs (1)
1179builder.AddAttribute(1, nameof(CascadingValue<ViewportInformation>.Value), viewport);
Microsoft.AspNetCore.Components (7)
CascadingValue.cs (7)
37/// If true, indicates that <see cref="Value"/> will not change. This is a 40/// <see cref="Value"/> during the component's lifetime. 58var previousValue = Value; 67if (parameter.Name.Equals(nameof(Value), StringComparison.OrdinalIgnoreCase)) 105throw new ArgumentException($"Missing required parameter '{nameof(Value)}' for component '{GetType().Name}'."); 121if (_subscribers != null && ChangeDetection.MayHaveChanged(previousValue, Value)) 145return Value;
Microsoft.AspNetCore.Components.Authorization (1)
_generated\0\CascadingAuthenticationState_razor.g.cs (1)
41Value
Microsoft.AspNetCore.Components.QuickGrid (1)
_generated\2\QuickGrid_razor.g.cs (1)
82Value