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