diff options
Diffstat (limited to 'Xamarin.Forms.Core/IIsolatedStorageFile.cs')
-rw-r--r-- | Xamarin.Forms.Core/IIsolatedStorageFile.cs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Xamarin.Forms.Core/IIsolatedStorageFile.cs b/Xamarin.Forms.Core/IIsolatedStorageFile.cs new file mode 100644 index 00000000..50899023 --- /dev/null +++ b/Xamarin.Forms.Core/IIsolatedStorageFile.cs @@ -0,0 +1,18 @@ +using System; +using System.IO; +using System.Threading.Tasks; + +namespace Xamarin.Forms +{ + internal interface IIsolatedStorageFile + { + Task CreateDirectoryAsync(string path); + Task<bool> GetDirectoryExistsAsync(string path); + Task<bool> GetFileExistsAsync(string path); + + Task<DateTimeOffset> GetLastWriteTimeAsync(string path); + + Task<Stream> OpenFileAsync(string path, FileMode mode, FileAccess access); + Task<Stream> OpenFileAsync(string path, FileMode mode, FileAccess access, FileShare share); + } +}
\ No newline at end of file |