3 instantiations of TempDataDictionaryFactory
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (3)
TempDataDictionaryFactoryTest.cs (1)
49
return new
TempDataDictionaryFactory
(provider);
ViewExecutorTest.cs (1)
401
new
TempDataDictionaryFactory
(Mock.Of<ITempDataProvider>()),
ViewResultExecutorTest.cs (1)
355
new
TempDataDictionaryFactory
(Mock.Of<ITempDataProvider>()),
8 references to TempDataDictionaryFactory
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
Filters\PageSaveTempDataPropertyFilterFactoryTest.cs (1)
36
serviceCollection.AddSingleton<ITempDataDictionaryFactory,
TempDataDictionaryFactory
>();
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
DependencyInjection\MvcViewFeaturesMvcCoreBuilderExtensions.cs (1)
207
services.TryAddSingleton<ITempDataDictionaryFactory,
TempDataDictionaryFactory
>();
TempDataDictionaryFactory.cs (1)
18
/// Creates a new <see cref="
TempDataDictionaryFactory
"/>.
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (5)
Filters\ControllerSaveTempDataPropertyFilterFactoryTest.cs (1)
32
serviceCollection.AddSingleton<ITempDataDictionaryFactory,
TempDataDictionaryFactory
>();
TempDataDictionaryFactoryTest.cs (3)
15
var
factory = CreateFactory();
33
var
factory = CreateFactory();
46
private
TempDataDictionaryFactory
CreateFactory()
ViewComponentResultTest.cs (1)
675
services.AddSingleton<ITempDataDictionaryFactory,
TempDataDictionaryFactory
>();