Closed mbaker3 closed 9 months ago
Add an AsReadOnly() method to CDFEWriter. This helps the instance conform to APIs that are expecting CDFEReaders.
AsReadOnly()
CDFEWriter
CDFEReader
If the developer has a CDFEWriter there is no way to use it for APIs that require CDFEReader instances.
Developers can call AsReadOnly on a CDFEWriter to have it be used purely as a reader.
AsReadOnly
Add an
AsReadOnly()
method toCDFEWriter
. This helps the instance conform to APIs that are expectingCDFEReader
s.What is the current behaviour?
If the developer has a
CDFEWriter
there is no way to use it for APIs that requireCDFEReader
instances.What is the new behaviour?
Developers can call
AsReadOnly
on aCDFEWriter
to have it be used purely as a reader.What issues does this resolve?
What PRs does this depend on?
Does this introduce a breaking change?