2 writes to Value
Microsoft.AspNetCore.Components (2)
CascadingValue.cs (2)
60
Value
= default;
69
Value
= (TValue)parameter.Value;
20 references to Value
Aspire.Dashboard.Components.Tests (11)
Controls\AspireMenuTests.cs (2)
185
builder.Add(p => p.
Value
, false);
198
builder.Add(p => p.
Value
, false);
Controls\GenAIVisualizerDialogTests.cs (1)
402
builder.Add(cascadingValue => cascadingValue.
Value
, testDialogService!.LastInstance!);
Controls\TextVisualizerDialogTests.cs (1)
364
builder.Add(p => p.
Value
, testDialogService!.LastInstance!);
Dialogs\InteractionMessageBoxDialogTests.cs (1)
115
builder.Add(component => component.
Value
, testDialogService!.LastInstance!);
Dialogs\InteractionsInputDialogTests.cs (1)
712
builder.Add(p => p.
Value
, testDialogService!.LastInstance!);
Layout\MainLayoutTests.cs (2)
942
builder.Add(p => p.
Value
, new ViewportInformation(IsDesktop: initialIsDesktop, IsUltraLowHeight: false, IsUltraLowWidth: false));
966
parameters.Add(p => p.
Value
, new ViewportInformation(IsDesktop: closingIsDesktop, IsUltraLowHeight: false, IsUltraLowWidth: false));
Pages\ConsoleLogsTests.cs (1)
1161
builder.AddAttribute(1, nameof(CascadingValue<ViewportInformation>.
Value
), viewport);
Pages\LoginTests.cs (1)
42
builder.AddAttribute(2, nameof(CascadingValue<Task<AuthenticationState>>.
Value
), tcs.Task);
Shared\FluentUISetupHelpers.cs (1)
389
builder.AddComponentParameter(3, 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.
58
var previousValue =
Value
;
67
if (parameter.Name.Equals(nameof(
Value
), StringComparison.OrdinalIgnoreCase))
105
throw new ArgumentException($"Missing required parameter '{nameof(
Value
)}' for component '{GetType().Name}'.");
121
if (_subscribers != null && ChangeDetection.MayHaveChanged(previousValue,
Value
))
145
return
Value
;
Microsoft.AspNetCore.Components.Authorization (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\CascadingAuthenticationState_razor.g.cs (1)
41
Value
Microsoft.AspNetCore.Components.QuickGrid (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\QuickGrid_razor.g.cs (1)
82
Value