1 instantiation of DefaultViewComponentHelper
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
ViewComponents\DefaultViewComponentHelperTest.cs (1)
147return new DefaultViewComponentHelper(
16 references to DefaultViewComponentHelper
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
DependencyInjection\MvcViewFeaturesMvcCoreBuilderExtensions.cs (1)
182services.TryAddTransient<IViewComponentHelper, DefaultViewComponentHelper>();
ViewComponents\DefaultViewComponentHelper.cs (1)
29/// Initializes a new instance of <see cref="DefaultViewComponentHelper"/>.
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (14)
ViewComponentResultTest.cs (1)
665services.AddTransient<IViewComponentHelper, DefaultViewComponentHelper>();
ViewComponents\DefaultViewComponentHelperTest.cs (13)
18var helper = CreateHelper(); 22var argumentDictionary = DefaultViewComponentHelper.GetArgumentDictionary(descriptor, null); 33var helper = CreateHelper(); 37var argumentDictionary = DefaultViewComponentHelper.GetArgumentDictionary(descriptor, new { a = 0 }); 53var helper = CreateHelper(); 57var argumentDictionary = DefaultViewComponentHelper.GetArgumentDictionary(descriptor, 0); 73var helper = CreateHelper(); 77var argumentDictionary = DefaultViewComponentHelper.GetArgumentDictionary(descriptor, new { a = 0, b = "foo" }); 99var helper = CreateHelper(); 104var argumentDictionary = DefaultViewComponentHelper.GetArgumentDictionary(descriptor, expectedValue); 120var helper = CreateHelper(); 128var argumentDictionary = DefaultViewComponentHelper.GetArgumentDictionary(descriptor, arguments); 140private DefaultViewComponentHelper CreateHelper()