azure-sdk-for-cpp/sdk/core/azure-core/src
Ahson Khan 12475350b2
Changed the static methods 'BodyStream::ReadToCount()' and 'BodyStream::ReadToEnd()' into instance methods. (#1863)
Usability studies found that static methods are generally not as user-friendly as instance methods. Folks new to the SDK have harder time discovering the APIs, they reverse the flow of typing, and the calling code ends up a bit more verbose because you have to spell out the whole namespace and type name when there aren't any using directives.

There doesn't seem to be a strong benefit or feasibility reason to keep these method statics which are typically harder to use and discover.

cc @kyle-patterson
2021-03-11 11:58:33 +00:00
..
cryptography Namespaces renamed: Details => _detail, Internal => _internal (#1823) 2021-03-09 18:05:47 -08:00
http Changed the static methods 'BodyStream::ReadToCount()' and 'BodyStream::ReadToEnd()' into instance methods. (#1863) 2021-03-11 11:58:33 +00:00
io Changed the static methods 'BodyStream::ReadToCount()' and 'BodyStream::ReadToEnd()' into instance methods. (#1863) 2021-03-11 11:58:33 +00:00
base64.cpp Remove Base64 encode and decode methods from Azure::Storage and move the string-based helper to Internal. Update storage call sites. (#1298) 2021-01-09 08:12:06 +00:00
context.cpp Simplify the Context structure (#1824) 2021-03-10 23:19:23 +00:00
datetime.cpp Azure::Core::DateTime => Azure::DateTime (#1836) 2021-03-10 22:44:09 +00:00
environment_log_level_listener_private.hpp Azure::Core::Diagnostics (#1851) 2021-03-10 17:20:45 -08:00
environment_log_level_listener.cpp Azure::Core::Diagnostics (#1851) 2021-03-10 17:20:45 -08:00
logger.cpp Azure::Core::Diagnostics (#1851) 2021-03-10 17:20:45 -08:00
operation_status.cpp Add Operation<T> (#1186) 2020-12-17 14:47:20 -08:00
strings.cpp Create StringExtensions in azure core internal (#1837) 2021-03-10 14:13:51 -08:00
version.cpp Azure::*::_detail::Version => Azure::*::PackageVersion (#1839) 2021-03-10 15:15:28 -08:00