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