1 instantiation of SessionStateTempDataProvider
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
SessionStateTempDataProviderTest.cs (1)
91
return new
SessionStateTempDataProvider
(tempDataSerializer);
9 references to SessionStateTempDataProvider
Microsoft.AspNetCore.Mvc.ViewFeatures (3)
DependencyInjection\MvcViewFeaturesMvcBuilderExtensions.cs (2)
59
/// Registers <see cref="
SessionStateTempDataProvider
"/> as the default <see cref="ITempDataProvider"/>
71
var descriptor = ServiceDescriptor.Singleton(typeof(ITempDataProvider), typeof(
SessionStateTempDataProvider
));
SessionStateTempDataProvider.cs (1)
19
/// Initializes a new instance of <see cref="
SessionStateTempDataProvider
"/>.
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (6)
SessionStateTempDataProviderTest.cs (5)
23
var
testProvider = CreateTempDataProvider();
36
var
testProvider = CreateTempDataProvider();
49
var
testProvider = CreateTempDataProvider();
62
var
testProvider = CreateTempDataProvider();
88
private static
SessionStateTempDataProvider
CreateTempDataProvider()
ViewComponentResultTest.cs (1)
676
services.AddSingleton<ITempDataProvider,
SessionStateTempDataProvider
>();