Commit 39d1703
committed
Update
With the `CustomAttributes` now exposed to the underlying `ItemConfiguration` as a protected property (9705824), the `PropertyConfiguration.Validate()` method can now access those instead of making a direct call to `GetCustomAttributes()`. This also updates the code to use the `MemberAccessor` version of `GetValue()` instead of going directly through reflection, which should have a slight performance benefit.
Technically, this could have been done before when the dependency on `MemberAccessor` was introduced to `PropertyConfiguration` (49ffd61). As we hadn't updated `ItemConfiguration` to operate off of `CustomAttributes` yet, however, I waited to migrate this so they could operate off of the same base property (9705824).Validate() to use CustomAttributes
1 parent ed688f9 commit 39d1703
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
| 78 | + | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
0 commit comments