Skip to content

Commit dddf30b

Browse files
committed
And #2 is a goner too
1 parent 5372999 commit dddf30b

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

WriterSharp.PluginApi/FileSystem/IFileSystem.cs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System;
2+
using System.IO;
23

34

45
namespace WriterSharp.PluginApi.FileSystem
@@ -135,6 +136,22 @@ public interface IFileSystem
135136

136137
#endregion
137138

139+
#region Stream
140+
141+
/// <inheritdoc cref="File.OpenRead(String)" />
142+
public FileStream OpenRead(string filepath);
143+
144+
/// <inheritdoc cref="File.OpenWrite(String)" />
145+
public FileStream OpenWrite(string filepath);
146+
147+
/// <inheritdoc cref="File.OpenText(String)" />
148+
public FileStream OpenText(string filepath);
149+
150+
/// <inheritdoc cref="File.Open(String, FileMode, FileAccess, FileShare)" />
151+
public FileStream Open(string filepath, FileMode mode, FileAccess access, FileShare share);
152+
153+
#endregion
154+
138155
}
139156

140157
}

0 commit comments

Comments
 (0)