6 writes to MyProperty
Microsoft.AspNetCore.Mvc.Core.Test (6)
ModelBinding\ModelBindingHelperTest.cs (6)
102
var model = new MyModel {
MyProperty
= "Old-Value" };
170
MyProperty
= "Old-Value",
250
MyProperty
= "Old-Value",
301
MyProperty
= "Old-Value",
500
MyProperty
= "Old-Value",
578
var model = new MyModel {
MyProperty
= "Old-Value" };
11 references to MyProperty
Microsoft.AspNetCore.Mvc.Core.Test (11)
ModelBinding\ModelBindingHelperTest.cs (11)
43
Assert.Null(model.
MyProperty
);
124
Assert.Equal("MyPropertyValue", model.
MyProperty
);
149
Assert.Null(model.
MyProperty
);
203
Assert.Equal("MyPropertyValue", model.
MyProperty
);
229
Assert.Null(model.
MyProperty
);
280
Assert.Equal("MyPropertyValue", model.
MyProperty
);
330
Assert.Equal("MyPropertyValue", model.
MyProperty
);
479
Assert.Null(model.
MyProperty
);
534
Assert.Equal("MyPropertyValue", model.
MyProperty
);
561
Assert.Null(model.
MyProperty
);
601
Assert.Equal("MyPropertyValue", model.
MyProperty
);