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
Copy file name to clipboardExpand all lines: src/System/IO/StreamFile.cs
+6-25Lines changed: 6 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -17,29 +17,20 @@ public class StreamFile : IFile
17
17
publicStreamStream{get;}
18
18
19
19
/// <summary>
20
-
/// Gets a value indicating whether the underlying stream should be disposed when the returned stream from <see cref="OpenStreamAsync"/> is disposed.
20
+
/// Gets or sets a value indicating whether the underlying stream should be disposed when the returned stream from <see cref="OpenStreamAsync"/> is disposed.
21
21
/// When true, the underlying stream is returned directly. When false, the stream is wrapped in a non-disposable wrapper.
22
22
/// </summary>
23
-
publicboolShouldDispose{get;}
23
+
publicboolShouldDispose{get;set;}
24
24
25
25
/// <summary>
26
26
/// Creates a new instance of <see cref="StreamFile"/>.
27
27
/// </summary>
28
28
/// <param name="stream">An existing stream which is provided as the file contents.</param>
/// Creates a new instance of <see cref="StreamFile"/>.
36
-
/// </summary>
37
-
/// <param name="stream">An existing stream which is provided as the file contents.</param>
38
-
/// <param name="shouldDispose">When true, the underlying stream will be disposed when the returned stream from <see cref="OpenStreamAsync"/> is disposed. When false, the stream is wrapped in a non-disposable wrapper.</param>
/// Creates a new instance of <see cref="StreamFile"/>.
57
-
/// </summary>
58
-
/// <param name="stream">An existing stream which is provided as the file contents.</param>
59
-
/// <param name="id">A unique and consistent identifier for this file or folder.</param>
60
-
/// <param name="name">The name of the file or folder, with the extension (if any).</param>
61
-
/// <param name="shouldDispose">When true, the underlying stream will be disposed when the returned stream from <see cref="OpenStreamAsync"/> is disposed. When false, the stream is wrapped in a non-disposable wrapper.</param>
0 commit comments