using System; using System.IO; using System.Threading.Tasks; using Xamarin.Forms.Internals; namespace Ooui.Forms { public class LocalIsolatedStorageFile : IIsolatedStorageFile { public Task CreateDirectoryAsync (string path) { return Task.FromResult (null); } public Task GetDirectoryExistsAsync (string path) { return Task.FromResult (true); } public Task GetFileExistsAsync (string path) { return Task.FromResult (false); } public Task GetLastWriteTimeAsync (string path) { throw new NotSupportedException (); } public Task OpenFileAsync (string path, FileMode mode, FileAccess access) { throw new NotSupportedException (); } public Task OpenFileAsync (string path, FileMode mode, FileAccess access, FileShare share) { throw new NotSupportedException (); } } }