6 references to ModelWithHandler
Microsoft.AspNetCore.Mvc.RazorPages.Test (6)
ApplicationModels\DefaultPageApplicationModelProviderTest.cs (6)
575
var modelType = typeof(
ModelWithHandler
);
585
p => p.PropertyInfo == modelType.GetProperty(nameof(
ModelWithHandler
.BindMe)));
589
p => Assert.Equal(modelType.GetMethod(nameof(
ModelWithHandler
.OnGet)), p.MethodInfo));
591
Assert.Same(typeof(
ModelWithHandler
).GetTypeInfo(), pageModel.HandlerType);
592
Assert.Same(typeof(
ModelWithHandler
).GetTypeInfo(), pageModel.ModelType);
606
public
ModelWithHandler
Model => null;