1 write to Value
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\Metadata\DefaultModelMetadataProviderTest.cs (1)
463Value = value;
17 references to Value
Microsoft.AspNetCore.Mvc.Core.Test (17)
ModelBinding\Metadata\DefaultModelMetadataProviderTest.cs (17)
24Assert.Equal("OnType", attribute.Value); 164Assert.Equal("OnProperty", Assert.IsType<ModelAttribute>(attributes[0]).Value); 165Assert.Equal("OnPropertyType", Assert.IsType<ModelAttribute>(attributes[1]).Value); 238Assert.Equal("ParamAttrib1", modelAttribute.Value); 243Assert.Equal("ParamAttrib2", modelAttribute.Value); 284a => Assert.Equal("OnParameter", Assert.IsType<ModelAttribute>(a).Value), 285a => Assert.Equal("OnDerivedType", Assert.IsType<ModelAttribute>(a).Value), 286a => Assert.Equal("OnType", Assert.IsType<ModelAttribute>(a).Value)); 297a => Assert.Equal("OnDerivedProperty", Assert.IsType<ModelAttribute>(a).Value)); 306a => Assert.Equal("OnProperty", Assert.IsType<ModelAttribute>(a).Value), 307a => Assert.Equal("OnPropertyType", Assert.IsType<ModelAttribute>(a).Value)); 368a => Assert.Equal("OnProperty", Assert.IsType<ModelAttribute>(a).Value), 369a => Assert.Equal("OnDerivedType", Assert.IsType<ModelAttribute>(a).Value), 370a => Assert.Equal("OnType", Assert.IsType<ModelAttribute>(a).Value)); 381a => Assert.Equal("OnDerivedProperty", Assert.IsType<ModelAttribute>(a).Value)); 390a => Assert.Equal("OnProperty", Assert.IsType<ModelAttribute>(a).Value), 391a => Assert.Equal("OnPropertyType", Assert.IsType<ModelAttribute>(a).Value));