You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge branch 'feature/AttributeValueCollection.GetValue-defaults' into develop
Previously, the `AttributeValueCollection` extension methods, such as `GetBoolean()` and `GetDateTime()`, required an explicitly defined default value. This has been updated so that the `defaultValue` parameter is now optional, and will otherwise default to `default` (e.g., `0` for `GetBoolean()` and `DateTime.MinValue` for `GetDateTime()`). Callers can still explicitly define a `defaultValue` if it's relevant, but it's no longer required if the default value is acceptable.
As part of this, I updated the unit tests to evaluate the implicit defaults, and also updated all calls to the `AttributeValueCollection` extensions to use the implicit defaults, if appropriate (i.e., if they were already setting the default value).
0 commit comments