5 instantiations of HtmlAttributePropertyHelper
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
HtmlAttributePropertyHelper.cs (1)
43result[i] = new(propertyHelpers[i]);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (4)
HtmlAttributePropertyHelperTest.cs (4)
19var helper = new HtmlAttributePropertyHelper(new(property)); 34var helper = new HtmlAttributePropertyHelper(new(property)); 49var helper = new HtmlAttributePropertyHelper(new(property)); 64var helper = new HtmlAttributePropertyHelper(new(property));
16 references to HtmlAttributePropertyHelper
Microsoft.AspNetCore.Mvc.ViewFeatures (7)
HtmlAttributePropertyHelper.cs (5)
9[assembly: MetadataUpdateHandler(typeof(HtmlAttributePropertyHelper))] 15private static readonly ConcurrentDictionary<Type, HtmlAttributePropertyHelper[]> ReflectionCache = 16new ConcurrentDictionary<Type, HtmlAttributePropertyHelper[]>(); 35public static HtmlAttributePropertyHelper[] GetProperties(Type type) 40result = new HtmlAttributePropertyHelper[propertyHelpers.Length];
HtmlHelper.cs (2)
168foreach (var helper in HtmlAttributePropertyHelper.GetProperties(htmlAttributes.GetType()))
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (9)
HtmlAttributePropertyHelperTest.cs (9)
19var helper = new HtmlAttributePropertyHelper(new(property)); 34var helper = new HtmlAttributePropertyHelper(new(property)); 49var helper = new HtmlAttributePropertyHelper(new(property)); 64var helper = new HtmlAttributePropertyHelper(new(property)); 78var helpers1 = HtmlAttributePropertyHelper.GetProperties(anonymous.GetType()); 79var helpers2 = HtmlAttributePropertyHelper.GetProperties(anonymous.GetType()); 94var helpers1 = HtmlAttributePropertyHelper.GetProperties(anonymous.GetType()); 104Assert.IsType<HtmlAttributePropertyHelper>(helpers1[0]); 105Assert.IsNotType<HtmlAttributePropertyHelper>(helpers2[0]);