4 references to ModelWithPageModelAttribute
Microsoft.AspNetCore.Mvc.RazorPages.Test (4)
ApplicationModels\DefaultPageApplicationModelProviderTest.cs (4)
191
var modelType = typeof(
ModelWithPageModelAttribute
);
204
Assert.Equal(modelType.GetProperty(nameof(
ModelWithPageModelAttribute
.Property)), property.PropertyInfo);
205
Assert.Equal(nameof(
ModelWithPageModelAttribute
.Property), property.PropertyName);
218
public
ModelWithPageModelAttribute
Model => null;