2 instantiations of TempDataCascadingValueSupplier
Microsoft.AspNetCore.Components.Endpoints.Tests (2)
TempData\TempDataCascadingValueSupplierTest.cs (1)
15
_supplier = new
TempDataCascadingValueSupplier
(NullLogger<TempDataCascadingValueSupplier>.Instance);
TempData\TempDataSubscriptionTest.cs (1)
20
_supplier = new
TempDataCascadingValueSupplier
(NullLogger<TempDataCascadingValueSupplier>.Instance);
14 references to TempDataCascadingValueSupplier
Microsoft.AspNetCore.Components.Endpoints (8)
DependencyInjection\RazorComponentsServiceCollectionExtensions.cs (2)
77
services.TryAddScoped<
TempDataCascadingValueSupplier
>();
79
sp => sp.GetRequiredService<
TempDataCascadingValueSupplier
>().CreateSubscription);
DependencyInjection\TempDataService.cs (1)
30
if (httpContext.RequestServices.GetService<
TempDataCascadingValueSupplier
>() is { } supplier)
Rendering\EndpointHtmlRenderer.cs (1)
125
if (httpContext.RequestServices.GetService<
TempDataCascadingValueSupplier
>() is {} tempDataSupplier)
TempData\TempDataCascadingValueSupplier.cs (4)
19
private readonly ILogger<
TempDataCascadingValueSupplier
> _logger;
21
public TempDataCascadingValueSupplier(ILogger<
TempDataCascadingValueSupplier
> logger)
106
private readonly
TempDataCascadingValueSupplier
_owner;
114
TempDataCascadingValueSupplier
owner,
Microsoft.AspNetCore.Components.Endpoints.Tests (6)
TempData\TempDataCascadingValueSupplierTest.cs (2)
11
private readonly
TempDataCascadingValueSupplier
_supplier;
15
_supplier = new TempDataCascadingValueSupplier(NullLogger<
TempDataCascadingValueSupplier
>.Instance);
TempData\TempDataSubscriptionTest.cs (4)
15
private readonly
TempDataCascadingValueSupplier
_supplier;
20
_supplier = new TempDataCascadingValueSupplier(NullLogger<
TempDataCascadingValueSupplier
>.Instance);
24
private
TempDataCascadingValueSupplier
.TempDataSubscription CreateSubscription(string key, Type propertyType)
26
return new
TempDataCascadingValueSupplier
.TempDataSubscription(