KristofferStrube / Blazor.FileSystemAccess

A Blazor wrapper for the File System Access browser API.
https://kristofferstrube.github.io/Blazor.FileSystemAccess/
MIT License
327 stars 39 forks source link

Feature: `FileSystemWritableFileStream` should extend `WritableStream` from `Blazor.Streams` #27

Closed KristofferStrube closed 1 year ago

KristofferStrube commented 1 year ago

The WebIDL specifications for FileSystemWritableFileStream define that it inherits from the WritableStream interface that has been wrapped in the Blazor.Streams project. We should reflect this by having it extend that.

We currently have FileSystemWritableFileStream extend the .NET Stream class with some overrides. We should still override these methods, but much of the boilerplate for the initial inheritance can be removed, which is good.

KristofferStrube commented 1 year ago

This was fixed as a part of #28 and has been published in version 2.0.0 to NuGet.