4 writes to PropertyName
Microsoft.AspNetCore.Mvc.RazorPages (1)
ApplicationModels\DefaultPageApplicationModelPartsProvider.cs (1)
133
PropertyName
= property.Name,
Microsoft.AspNetCore.Mvc.RazorPages.Test (3)
ApplicationModels\CompiledPageActionDescriptorBuilderTest.cs (3)
317
PropertyName
= nameof(HandlerWithProperty.Property),
359
PropertyName
= nameof(HandlerWithIgnoredProperties.Property),
366
PropertyName
= nameof(HandlerWithIgnoredProperties.IgnoreMe),
22 references to PropertyName
Microsoft.AspNetCore.Mvc.RazorPages (1)
ApplicationModels\CompiledPageActionDescriptorBuilder.cs (1)
136
Name = propertyModel.
PropertyName
,
Microsoft.AspNetCore.Mvc.RazorPages.Test (21)
ApplicationModels\CompiledPageActionDescriptorBuilderTest.cs (3)
93
Assert.Equal(pageApplicationModel.HandlerProperties.Select(p => p.
PropertyName
), actual.BoundProperties.Select(p => p.Name));
336
Assert.Same(propertyModel.
PropertyName
, p.Name);
385
Assert.Same(propertyModel1.
PropertyName
, p.Name);
ApplicationModels\DefaultPageApplicationModelProviderTest.cs (18)
148
propertiesOnPage.OrderBy(p => p.
PropertyName
),
152
Assert.Equal(nameof(PageWithModelWithoutPageModelAttribute.Model), property.
PropertyName
);
158
Assert.Equal(nameof(PageWithModelWithoutPageModelAttribute.Property1), property.
PropertyName
);
163
Assert.Equal(nameof(PageWithModelWithoutPageModelAttribute.Property2), property.
PropertyName
);
201
context.PageApplicationModel.HandlerProperties.OrderBy(p => p.
PropertyName
),
205
Assert.Equal(nameof(ModelWithPageModelAttribute.Property), property.
PropertyName
);
244
context.PageApplicationModel.HandlerProperties.OrderBy(p => p.
PropertyName
).Where(p => p.BindingInfo != null),
249
Assert.Equal(name, property.
PropertyName
);
256
Assert.Equal(name, property.
PropertyName
);
341
context.PageApplicationModel.HandlerProperties.OrderBy(p => p.
PropertyName
),
347
Assert.Equal(name, property.
PropertyName
);
353
Assert.Equal(name, property.
PropertyName
);
361
Assert.Equal(name, property.
PropertyName
);
383
context.PageApplicationModel.HandlerProperties.OrderBy(p => p.
PropertyName
),
386
Assert.Equal(nameof(ModelWithBindProperty.Property1), property.
PropertyName
);
391
Assert.Equal(nameof(ModelWithBindProperty.Property2), property.
PropertyName
);
632
propertiesOnPage.OrderBy(p => p.
PropertyName
),
983
properties.OrderBy(p => p.
PropertyName
),