2 instantiations of UserModel
RazorPagesWebSite (2)
Pages\TryUpdateModelPageModel.cs (1)
16
var user = new
UserModel
();
PolymorphicModelBinder.cs (1)
20
var model = new
UserModel
9 references to UserModel
RazorPagesWebSite (9)
Pages\PropertyBinding\PageModelWithPropertyAndArgumentBinding.cs (1)
12
public
UserModel
UserModel { get; set; }
Pages\PropertyBinding\PageModelWithPropertyBinding.cs (1)
12
public
UserModel
UserModel { get; set; }
Pages\TryUpdateModelPageModel.cs (2)
10
public
UserModel
UserModel { get; set; }
16
var
user = new UserModel();
Pages\TryValidateModelPageModel.cs (2)
12
public
UserModel
UserModel { get; set; }
16
public void OnPost(
UserModel
user)
PolymorphicModelBinder.cs (3)
13
var ageValue = bindingContext.ValueProvider.GetValue(nameof(
UserModel
.Age));
20
var
model = new UserModel
22
Name = bindingContext.ValueProvider.GetValue(nameof(
UserModel
.Name)).FirstValue,