6 references to PageWithHandler
Microsoft.AspNetCore.Mvc.RazorPages.Test (6)
ApplicationModels\DefaultPageApplicationModelProviderTest.cs (6)
621
var typeInfo = typeof(
PageWithHandler
).GetTypeInfo();
633
p => Assert.Equal(typeInfo.GetProperty(nameof(
PageWithHandler
.BindMe)), p.PropertyInfo),
634
p => Assert.Equal(typeInfo.GetProperty(nameof(
PageWithHandler
.Model)), p.PropertyInfo));
638
p => Assert.Equal(typeInfo.GetMethod(nameof(
PageWithHandler
.OnGet)), p.MethodInfo));
640
Assert.Same(typeof(
PageWithHandler
).GetTypeInfo(), pageModel.HandlerType);
642
Assert.Same(typeof(
PageWithHandler
).GetTypeInfo(), pageModel.PageType);