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
Add Typed ServiceVolume Models With Custom Collection (#191)
* Changes Volumes property from List<string> to ServiceVolumeCollection,
which implements both IList<string> and IList<ServiceVolume>.
This allows both patterns to work:
- foreach (string v in service.Volumes) - backwards compatible
- foreach (var v in service.Volumes) - typed access (ServiceVolume)
- string x = service.Volumes[0] - implicit conversion
- ServiceVolume y = service.Volumes[0] - typed access
Note: This is a minor breaking change for code using 'var' with volumes,
as the inferred type changes from string to ServiceVolume.
* fix formatting issue
update complex example
* Keep class per file
* Define PLACE_ACCESSORHOLDER_ATTRIBUTE_ON_SAME_LINE_EX
* Simplify deserializer
* Simplify serializer
---------
Co-authored-by: aus-design-web-mobile <aus-design-web-mobile@users.noreply.github.com>
Co-authored-by: Jan Trejbal <jan@trejbal.land>
0 commit comments