public async override Task <StorageFile> CreateFolderAsync(string folderName, StorageFile destFolder, CancellationToken token) { var ret = new MockStorageFile(this, folderName); files.Add(ret.Id, ret); return(ret); }
public void AddFile(MockStorageFile file) { files.Add(file.Id, file); }
public override async Task<StorageFile> GetFileAsync(XElement xml, CancellationToken token) { var ret = new MockStorageFile(this, xml.Attribute("name").Value); return ret; }
public async override Task<StorageFile> CreateFolderAsync(string folderName, StorageFile destFolder, CancellationToken token) { var ret = new MockStorageFile(this, folderName); files.Add(ret.Id, ret); return ret; }
public override async Task <StorageFile> GetFileAsync(XElement xml, CancellationToken token) { var ret = new MockStorageFile(this, xml.Attribute("name").Value); return(ret); }