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