Commit 0bccf1f
committed
Ensure that
Previously, when deleting items directly via `Remove()`, the `RemoveItem()` wouldn't enforce business logic. This is problematic because sometimes properties either a) disallow nulls, or b) must update their internal states when values are set to null. This would be handled when calling `SetValue()` or going directly through the property, but bypassed when calling `Remove()`.
This update patches that hole, and thus resolves the `Remove()` portion of #79.RemoveItem() enforces business logic1 parent 3d1ad6b commit 0bccf1f
1 file changed
Lines changed: 8 additions & 4 deletions
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
606 | 606 | | |
607 | 607 | | |
608 | 608 | | |
609 | | - | |
610 | | - | |
611 | | - | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
612 | 617 | | |
613 | | - | |
614 | 618 | | |
615 | 619 | | |
616 | 620 | | |
| |||
0 commit comments