7 references to PageWithModelWithoutPageModelAttribute
Microsoft.AspNetCore.Mvc.RazorPages.Test (7)
ApplicationModels\DefaultPageApplicationModelProviderTest.cs (7)
136var typeInfo = typeof(PageWithModelWithoutPageModelAttribute).GetTypeInfo(); 151Assert.Equal(typeInfo.GetProperty(nameof(PageWithModelWithoutPageModelAttribute.Model)), property.PropertyInfo); 152Assert.Equal(nameof(PageWithModelWithoutPageModelAttribute.Model), property.PropertyName); 156Assert.Equal(typeInfo.GetProperty(nameof(PageWithModelWithoutPageModelAttribute.Property1)), property.PropertyInfo); 158Assert.Equal(nameof(PageWithModelWithoutPageModelAttribute.Property1), property.PropertyName); 162Assert.Equal(typeInfo.GetProperty(nameof(PageWithModelWithoutPageModelAttribute.Property2)), property.PropertyInfo); 163Assert.Equal(nameof(PageWithModelWithoutPageModelAttribute.Property2), property.PropertyName);