From 72516757d50fd59477d48b8665b4db1ce22b0496 Mon Sep 17 00:00:00 2001 From: Robin Jones Date: Tue, 18 Sep 2018 15:02:24 +0100 Subject: [PATCH] uncommented some required classes and associated properties updated nugets --- source/IStorageFile.cs | 58 ++++---- source/IStorageFolder.cs | 48 +++--- source/IStorageItem.cs | 54 ++++--- source/KnownFolderId.cs | 155 +++++++++---------- source/KnownFolders.cs | 51 +++++-- source/StorageFile.cs | 200 +++++++++++++------------ source/StorageFolder.cs | 272 +++++++++++++++++----------------- source/Windows.Storage.nfproj | 9 +- source/packages.config | 2 +- 9 files changed, 449 insertions(+), 400 deletions(-) diff --git a/source/IStorageFile.cs b/source/IStorageFile.cs index af1b16f..b1ea561 100644 --- a/source/IStorageFile.cs +++ b/source/IStorageFile.cs @@ -1,40 +1,46 @@ -//// -//// Copyright (c) 2018 The nanoFramework project contributors -//// See LICENSE file in the project root for full license information. -//// +// +// Copyright (c) 2018 The nanoFramework project contributors +// See LICENSE file in the project root for full license information. +// -//using System; +using System; -//namespace Windows.Storage -//{ -// /// -// /// Represents a file. Provides information about the file and its contents, and ways to manipulate them. -// /// -// public interface IStorageFile : IStorageItem, IInputStreamReference, IRandomAccessStreamReference -// { -// public string ContentType { get; } +namespace Windows.Storage +{ + /// + /// Represents a file. Provides information about the file and its contents, and ways to manipulate them. + /// + public interface IStorageFile : IStorageItem//, IInputStreamReference, IRandomAccessStreamReference + { + /// + /// Gets the MIME type of the contents of the file. + /// + string ContentType { get; } -// public string FileType { get; } + /// + /// Gets the type (file name extension) of the file. + /// + string FileType { get; } -// public IAsyncAction CopyAndReplaceAsync(IStorageFile fileToReplace); + // public IAsyncAction CopyAndReplaceAsync(IStorageFile fileToReplace); -// public IAsyncOperation CopyAsync(IStorageFolder destinationFolder); + // public IAsyncOperation CopyAsync(IStorageFolder destinationFolder); -// public IAsyncOperation CopyAsync(IStorageFolder destinationFolder, String desiredNewName); + // public IAsyncOperation CopyAsync(IStorageFolder destinationFolder, String desiredNewName); -// public IAsyncOperation CopyAsync(IStorageFolder destinationFolder, String desiredNewName, NameCollisionOption option); + // public IAsyncOperation CopyAsync(IStorageFolder destinationFolder, String desiredNewName, NameCollisionOption option); -// public IAsyncAction MoveAndReplaceAsync(IStorageFile fileToReplace); + // public IAsyncAction MoveAndReplaceAsync(IStorageFile fileToReplace); -// public IAsyncAction MoveAsync(IStorageFolder destinationFolder); + // public IAsyncAction MoveAsync(IStorageFolder destinationFolder); -// public IAsyncAction MoveAsync(IStorageFolder destinationFolder, String desiredNewName); + // public IAsyncAction MoveAsync(IStorageFolder destinationFolder, String desiredNewName); -// public IAsyncAction MoveAsync(IStorageFolder destinationFolder, String desiredNewName, NameCollisionOption option); + // public IAsyncAction MoveAsync(IStorageFolder destinationFolder, String desiredNewName, NameCollisionOption option); -// public IAsyncOperation OpenAsync(FileAccessMode accessMode); + // public IAsyncOperation OpenAsync(FileAccessMode accessMode); -// public IAsyncOperation OpenTransactedWriteAsync(); + // public IAsyncOperation OpenTransactedWriteAsync(); -// } -//} + } +} diff --git a/source/IStorageFolder.cs b/source/IStorageFolder.cs index a500b07..aa92280 100644 --- a/source/IStorageFolder.cs +++ b/source/IStorageFolder.cs @@ -1,35 +1,35 @@ -//// -//// Copyright (c) 2018 The nanoFramework project contributors -//// See LICENSE file in the project root for full license information. -//// +// +// Copyright (c) 2018 The nanoFramework project contributors +// See LICENSE file in the project root for full license information. +// -//using System; +using System; -//namespace Windows.Storage -//{ -// /// -// /// Manipulates folders and their contents, and provides information about them. -// /// -// public interface IStorageFolder : IStorageItem -// { -// public IAsyncOperation CreateFileAsync(String desiredName); +namespace Windows.Storage +{ + /// + /// Manipulates folders and their contents, and provides information about them. + /// + public interface IStorageFolder : IStorageItem + { + // public IAsyncOperation CreateFileAsync(String desiredName); -// public IAsyncOperation CreateFileAsync(String desiredName, CreationCollisionOption options); + // public IAsyncOperation CreateFileAsync(String desiredName, CreationCollisionOption options); -// public IAsyncOperation CreateFolderAsync(String desiredName); + // public IAsyncOperation CreateFolderAsync(String desiredName); -// public IAsyncOperation CreateFolderAsync(String desiredName, CreationCollisionOption options); + // public IAsyncOperation CreateFolderAsync(String desiredName, CreationCollisionOption options); -// public IAsyncOperation GetFileAsync(String name); + // public IAsyncOperation GetFileAsync(String name); -// public IAsyncOperation> GetFilesAsync(); + // public IAsyncOperation> GetFilesAsync(); -// public IAsyncOperation GetFolderAsync(String name); + // public IAsyncOperation GetFolderAsync(String name); -// public IAsyncOperation> GetFoldersAsync(); + // public IAsyncOperation> GetFoldersAsync(); -// public IAsyncOperation GetItemAsync(String name); + // public IAsyncOperation GetItemAsync(String name); -// public IAsyncOperation> GetItemsAsync(); -// } -//} + // public IAsyncOperation> GetItemsAsync(); + } +} diff --git a/source/IStorageItem.cs b/source/IStorageItem.cs index e651a81..5a9dc29 100644 --- a/source/IStorageItem.cs +++ b/source/IStorageItem.cs @@ -1,36 +1,42 @@ -//// -//// Copyright (c) 2018 The nanoFramework project contributors -//// See LICENSE file in the project root for full license information. -//// +// +// Copyright (c) 2018 The nanoFramework project contributors +// See LICENSE file in the project root for full license information. +// -//using System; +using System; -//namespace Windows.Storage -//{ -// /// -// /// Manipulates storage items (files and folders) and their contents, and provides information about them. -// /// -// public interface IStorageItem -// { -// public FileAttributes Attributes { get; } +namespace Windows.Storage +{ + /// + /// Manipulates storage items (files and folders) and their contents, and provides information about them. + /// + public interface IStorageItem + { + // public FileAttributes Attributes { get; } -// public DateTimeOffset DateCreated { get; } + // public DateTimeOffset DateCreated { get; } -// public string Name { get; } + /// + /// Gets the name of the item including the file name extension if there is one. + /// + string Name { get; } -// public string Path { get; } + /// + /// Gets the full file-system path of the item, if the item has a path. + /// + string Path { get; } -// public IAsyncAction DeleteAsync(); + // public IAsyncAction DeleteAsync(); -// public IAsyncAction DeleteAsync(StorageDeleteOption option); + // public IAsyncAction DeleteAsync(StorageDeleteOption option); -// public IAsyncOperation GetBasicPropertiesAsync(); + // public IAsyncOperation GetBasicPropertiesAsync(); -// public bool IsOfType(StorageItemTypes type); + // public bool IsOfType(StorageItemTypes type); -// public IAsyncAction RenameAsync(String desiredName); + // public IAsyncAction RenameAsync(String desiredName); -// public IAsyncAction RenameAsync(String desiredName, NameCollisionOption option); + // public IAsyncAction RenameAsync(String desiredName, NameCollisionOption option); -// } -//} + } +} diff --git a/source/KnownFolderId.cs b/source/KnownFolderId.cs index 7f09d16..02bfa0c 100644 --- a/source/KnownFolderId.cs +++ b/source/KnownFolderId.cs @@ -1,78 +1,79 @@ -//// -//// Copyright (c) 2018 The nanoFramework project contributors -//// See LICENSE file in the project root for full license information. -//// +// +// Copyright (c) 2018 The nanoFramework project contributors +// See LICENSE file in the project root for full license information. +// +using System; -//namespace Windows.Storage -//{ -// /// -// /// Provides values that identify storage folders. -// /// -// public enum KnownFolderId -// { -// /// -// /// All app modifications folder. -// /// -// AllAppMods = 14, -// /// -// /// App Captures folder. -// /// -// AppCaptures = 0, -// /// -// /// Camera Roll folder. -// /// -// CameraRoll = 1, -// /// -// /// Current app modifications folder. -// /// -// CurrentAppMods = 15, -// /// -// /// Documents library folder. -// /// -// DocumentsLibrary = 2, -// /// -// /// HomeGroup folder. -// /// -// HomeGroup = 3, -// /// -// /// The folder of media server (Digital Living Network Alliance (DLNA)) devices. -// /// -// MediaServerDevices = 4, -// /// -// /// Music library folder. -// /// -// MusicLibrary = 5, -// /// -// /// Objects 3D folder. -// /// -// Objects3D = 6, -// /// -// /// Pictures library folder. -// /// -// PicturesLibrary = 7, -// /// -// /// Playlists folder. -// /// -// Playlists = 8, -// /// -// /// Recorded calls folder. -// /// -// RecordedCalls = 9, -// /// -// /// Removable devices folder. -// /// -// RemovableDevices = 10, -// /// -// /// Saved pictures folder. -// /// -// SavedPictures = 11, -// /// -// /// Screenshots folder. -// /// -// Screenshots = 12, -// /// -// /// Videos library folder. -// /// -// VideosLibrary = 13 -// } -//} +namespace Windows.Storage +{ + /// + /// Provides values that identify storage folders. + /// + public enum KnownFolderId + { + ///// + ///// All app modifications folder. + ///// + //AllAppMods = 14, + ///// + ///// App Captures folder. + ///// + //AppCaptures = 0, + ///// + ///// Camera Roll folder. + ///// + //CameraRoll = 1, + ///// + ///// Current app modifications folder. + ///// + //CurrentAppMods = 15, + ///// + ///// Documents library folder. + ///// + //DocumentsLibrary = 2, + ///// + ///// HomeGroup folder. + ///// + //HomeGroup = 3, + ///// + ///// The folder of media server (Digital Living Network Alliance (DLNA)) devices. + ///// + //MediaServerDevices = 4, + ///// + ///// Music library folder. + ///// + //MusicLibrary = 5, + ///// + ///// Objects 3D folder. + ///// + //Objects3D = 6, + ///// + ///// Pictures library folder. + ///// + //PicturesLibrary = 7, + ///// + ///// Playlists folder. + ///// + //Playlists = 8, + ///// + ///// Recorded calls folder. + ///// + //RecordedCalls = 9, + /// + /// Removable devices folder. + /// + RemovableDevices = 10, + ///// + ///// Saved pictures folder. + ///// + //SavedPictures = 11, + ///// + ///// Screenshots folder. + ///// + //Screenshots = 12, + ///// + ///// Videos library folder. + ///// + //VideosLibrary = 13 + } +} diff --git a/source/KnownFolders.cs b/source/KnownFolders.cs index 831783a..8140ce8 100644 --- a/source/KnownFolders.cs +++ b/source/KnownFolders.cs @@ -1,16 +1,39 @@ -//// -//// Copyright (c) 2018 The nanoFramework project contributors -//// See LICENSE file in the project root for full license information. -//// +// +// Copyright (c) 2018 The nanoFramework project contributors +// See LICENSE file in the project root for full license information. +// -//using System; +using System; -//namespace Windows.Storage -//{ -// /// -// /// Provides access to common locations that contain user content. This includes content from a user's local libraries (such as Documents, Pictures, Music, and Videos), HomeGroup, removable devices, and media server devices. -// /// -// public static class KnownFolders -// { -// } -//} +namespace Windows.Storage +{ + /// + /// Provides access to common locations that contain user content. This includes content from a user's local libraries (such as Documents, Pictures, Music, and Videos), HomeGroup, removable devices, and media server devices. + /// + public static class KnownFolders + { + //public static StorageFolder AppCaptures { get; } + //public static StorageFolder CameraRoll { get; } + //public static StorageFolder DocumentsLibrary { get; } + //public static StorageFolder HomeGroup { get; } + //public static StorageFolder MediaServerDevices { get; } + //public static StorageFolder MusicLibrary { get; } + //public static StorageFolder Objects3D { get; } + //public static StorageFolder PicturesLibrary { get; } + //public static StorageFolder Playlists { get; } + //public static StorageFolder RecordedCalls { get; } + + /// + /// Gets the removable devices folder. + /// + public static StorageFolder RemovableDevices { get; } + + //public static StorageFolder SavedPictures { get; } + //public static StorageFolder VideosLibrary { get; } + + //public static IAsyncOperation GetFolderForUserAsync(User user, KnownFolderId folderId) + //{ + + //} + } +} \ No newline at end of file diff --git a/source/StorageFile.cs b/source/StorageFile.cs index 06c398d..36d7448 100644 --- a/source/StorageFile.cs +++ b/source/StorageFile.cs @@ -1,141 +1,153 @@ -//// -//// Copyright (c) 2018 The nanoFramework project contributors -//// See LICENSE file in the project root for full license information. -//// +// +// Copyright (c) 2018 The nanoFramework project contributors +// See LICENSE file in the project root for full license information. +// -//using System; +using System; -//namespace Windows.Storage -//{ -// /// -// /// Represents a file. Provides information about the file and its content, and ways to manipulate them. -// /// -// public sealed class StorageFile : IStorageFile, IStorageFile2, IStorageFilePropertiesWithAvailability, IStorageItem, IStorageItem2, IStorageItemProperties, IStorageItemProperties2, IStorageItemPropertiesWithProvider, IInputStreamReference, IRandomAccessStreamReference -// { -// public FileAttributes Attributes { get; } +namespace Windows.Storage +{ + /// + /// Represents a file. Provides information about the file and its content, and ways to manipulate them. + /// + public sealed class StorageFile : IStorageFile//, IStorageFile2, IStorageFilePropertiesWithAvailability, IStorageItem, IStorageItem2, IStorageItemProperties, IStorageItemProperties2, IStorageItemPropertiesWithProvider, IInputStreamReference, IRandomAccessStreamReference + { + // public FileAttributes Attributes { get; } -// public string ContentType { get; } + /// + /// Gets the MIME type of the contents of the file. + /// + public string ContentType { get; } -// public DateTimeOffset DateCreated { get; } + // public DateTimeOffset DateCreated { get; } -// public string DisplayName { get; } + // public string DisplayName { get; } -// public string DisplayType { get; } + // public string DisplayType { get; } -// public string FileType { get; } + /// + /// Gets the type (file name extension) of the file. + /// + public string FileType { get; } -// public string FolderRelativeId { get; } + // public string FolderRelativeId { get; } -// public bool IsAvailable { get; } + // public bool IsAvailable { get; } -// public string Name { get; } + /// + /// Gets the name of the file including the file name extension. + /// + public string Name { get; } -// public string Path { get; } + /// + /// Gets the full file-system path of the current file, if the file has a path. + /// + public string Path { get; } -// public StorageItemContentProperties Properties { get; } + // public StorageItemContentProperties Properties { get; } -// public StorageProvider Provider { get; } + // public StorageProvider Provider { get; } -// public IAsyncAction CopyAndReplaceAsync(IStorageFile fileToReplace) -// { } + // public IAsyncAction CopyAndReplaceAsync(IStorageFile fileToReplace) + // { } -// public IAsyncOperation CopyAsync(IStorageFolder destinationFolder) -// { } + // public IAsyncOperation CopyAsync(IStorageFolder destinationFolder) + // { } -// public IAsyncOperation CopyAsync(IStorageFolder destinationFolder, String desiredNewName) -// { } + // public IAsyncOperation CopyAsync(IStorageFolder destinationFolder, String desiredNewName) + // { } -// public IAsyncOperation CopyAsync(IStorageFolder destinationFolder, String desiredNewName, NameCollisionOption option) -// { } + // public IAsyncOperation CopyAsync(IStorageFolder destinationFolder, String desiredNewName, NameCollisionOption option) + // { } -// public static IAsyncOperation CreateStreamedFileAsync(String displayNameWithExtension, StreamedFileDataRequestedHandler dataRequested, IRandomAccessStreamReference thumbnail) -// { } + // public static IAsyncOperation CreateStreamedFileAsync(String displayNameWithExtension, StreamedFileDataRequestedHandler dataRequested, IRandomAccessStreamReference thumbnail) + // { } -// public static IAsyncOperation CreateStreamedFileFromUriAsync(String displayNameWithExtension, Uri uri, IRandomAccessStreamReference thumbnail) -// { } + // public static IAsyncOperation CreateStreamedFileFromUriAsync(String displayNameWithExtension, Uri uri, IRandomAccessStreamReference thumbnail) + // { } -// public IAsyncAction DeleteAsync() -// { } + // public IAsyncAction DeleteAsync() + // { } -// public IAsyncAction DeleteAsync(StorageDeleteOption option) -// { } + // public IAsyncAction DeleteAsync(StorageDeleteOption option) + // { } -// public IAsyncOperation GetBasicPropertiesAsync() -// { } + // public IAsyncOperation GetBasicPropertiesAsync() + // { } -// public static IAsyncOperation GetFileFromApplicationUriAsync(Uri uri) -// { } + // public static IAsyncOperation GetFileFromApplicationUriAsync(Uri uri) + // { } -// public static IAsyncOperation GetFileFromPathAsync(String path) -// { } + // public static IAsyncOperation GetFileFromPathAsync(String path) + // { } -// public IAsyncOperation GetParentAsync() -// { } + // public IAsyncOperation GetParentAsync() + // { } -// public IAsyncOperation GetScaledImageAsThumbnailAsync(ThumbnailMode mode) -// { } + // public IAsyncOperation GetScaledImageAsThumbnailAsync(ThumbnailMode mode) + // { } -// public IAsyncOperation GetScaledImageAsThumbnailAsync(ThumbnailMode mode, UInt32 requestedSize) -// { } + // public IAsyncOperation GetScaledImageAsThumbnailAsync(ThumbnailMode mode, UInt32 requestedSize) + // { } -// public IAsyncOperation GetScaledImageAsThumbnailAsync(ThumbnailMode mode, UInt32 requestedSize, ThumbnailOptions options) -// { } + // public IAsyncOperation GetScaledImageAsThumbnailAsync(ThumbnailMode mode, UInt32 requestedSize, ThumbnailOptions options) + // { } -// public IAsyncOperation GetThumbnailAsync(ThumbnailMode mode) -// { } + // public IAsyncOperation GetThumbnailAsync(ThumbnailMode mode) + // { } -// public IAsyncOperation GetThumbnailAsync(ThumbnailMode mode, UInt32 requestedSize) -// { } + // public IAsyncOperation GetThumbnailAsync(ThumbnailMode mode, UInt32 requestedSize) + // { } -// public IAsyncOperation GetThumbnailAsync(ThumbnailMode mode, UInt32 requestedSize, ThumbnailOptions options) -// { } + // public IAsyncOperation GetThumbnailAsync(ThumbnailMode mode, UInt32 requestedSize, ThumbnailOptions options) + // { } -// public bool IsEqual(IStorageItem item) -// { } + // public bool IsEqual(IStorageItem item) + // { } -// public bool IsOfType(StorageItemTypes type) -// { } + // public bool IsOfType(StorageItemTypes type) + // { } -// public IAsyncAction MoveAndReplaceAsync(IStorageFile fileToReplace) -// { } + // public IAsyncAction MoveAndReplaceAsync(IStorageFile fileToReplace) + // { } -// public IAsyncAction MoveAsync(IStorageFolder destinationFolder) -// { } + // public IAsyncAction MoveAsync(IStorageFolder destinationFolder) + // { } -// public IAsyncAction MoveAsync(IStorageFolder destinationFolder, String desiredNewName) -// { } + // public IAsyncAction MoveAsync(IStorageFolder destinationFolder, String desiredNewName) + // { } -// public IAsyncAction MoveAsync(IStorageFolder destinationFolder, String desiredNewName, NameCollisionOption option) -// { } + // public IAsyncAction MoveAsync(IStorageFolder destinationFolder, String desiredNewName, NameCollisionOption option) + // { } -// public IAsyncOperation OpenAsync(FileAccessMode accessMode) -// { } + // public IAsyncOperation OpenAsync(FileAccessMode accessMode) + // { } -// public IAsyncOperation OpenAsync(FileAccessMode accessMode, StorageOpenOptions options) -// { } + // public IAsyncOperation OpenAsync(FileAccessMode accessMode, StorageOpenOptions options) + // { } -// public IAsyncOperation OpenReadAsync() -// { } + // public IAsyncOperation OpenReadAsync() + // { } -// public IAsyncOperation OpenSequentialReadAsync() -// { } + // public IAsyncOperation OpenSequentialReadAsync() + // { } -// public IAsyncOperation OpenTransactedWriteAsync() -// { } + // public IAsyncOperation OpenTransactedWriteAsync() + // { } -// public IAsyncOperation OpenTransactedWriteAsync(StorageOpenOptions options) -// { } + // public IAsyncOperation OpenTransactedWriteAsync(StorageOpenOptions options) + // { } -// public IAsyncAction RenameAsync(String desiredName) -// { } + // public IAsyncAction RenameAsync(String desiredName) + // { } -// public IAsyncAction RenameAsync(String desiredName, NameCollisionOption option) -// { } + // public IAsyncAction RenameAsync(String desiredName, NameCollisionOption option) + // { } -// public static IAsyncOperation ReplaceWithStreamedFileAsync(IStorageFile fileToReplace, StreamedFileDataRequestedHandler dataRequested, IRandomAccessStreamReference thumbnail) -// { } + // public static IAsyncOperation ReplaceWithStreamedFileAsync(IStorageFile fileToReplace, StreamedFileDataRequestedHandler dataRequested, IRandomAccessStreamReference thumbnail) + // { } -// public static IAsyncOperation ReplaceWithStreamedFileFromUriAsync(IStorageFile fileToReplace, Uri uri, IRandomAccessStreamReference thumbnail) -// { } -// } -//} + // public static IAsyncOperation ReplaceWithStreamedFileFromUriAsync(IStorageFile fileToReplace, Uri uri, IRandomAccessStreamReference thumbnail) + // { } + } +} diff --git a/source/StorageFolder.cs b/source/StorageFolder.cs index 6c1acfc..d1803d4 100644 --- a/source/StorageFolder.cs +++ b/source/StorageFolder.cs @@ -1,190 +1,190 @@ -//// -//// Copyright (c) 2018 The nanoFramework project contributors -//// See LICENSE file in the project root for full license information. -//// +// +// Copyright (c) 2018 The nanoFramework project contributors +// See LICENSE file in the project root for full license information. +// -//using System; +using System; -//namespace Windows.Storage -//{ -// /// -// /// Manages folders and their contents and provides information about them. -// /// -// public sealed class StorageFolder : IStorageFolder, IStorageFolder2, IStorageItem, IStorageItem2, IStorageItemProperties, IStorageItemProperties2, IStorageItemPropertiesWithProvider, IStorageFolderQueryOperations -// { -// /// -// /// Gets the attributes of the current folder. -// /// -// public FileAttributes Attributes { get; } +namespace Windows.Storage +{ + /// + /// Manages folders and their contents and provides information about them. + /// + public sealed class StorageFolder : IStorageFolder//, IStorageFolder2, IStorageItem, IStorageItem2, IStorageItemProperties, IStorageItemProperties2, IStorageItemPropertiesWithProvider, IStorageFolderQueryOperations + { + // /// + // /// Gets the attributes of the current folder. + // /// + // public FileAttributes Attributes { get; } -// /// -// /// Gets the date and time that the current folder was created. -// /// -// public DateTimeOffset DateCreated { get; } + // /// + // /// Gets the date and time that the current folder was created. + // /// + // public DateTimeOffset DateCreated { get; } -// /// -// /// Gets the user-friendly name of the current folder. -// /// -// public string DisplayName { get; } + // /// + // /// Gets the user-friendly name of the current folder. + // /// + // public string DisplayName { get; } -// /// -// /// Gets the user-friendly description of the type of the folder; for example, JPEG image. -// /// -// public string DisplayType { get; } + // /// + // /// Gets the user-friendly description of the type of the folder; for example, JPEG image. + // /// + // public string DisplayType { get; } -// /// -// /// Gets an identifier for the current folder. This ID is unique for the query result or StorageFolder that contains the current folder or file group, and can be used to distinguish between items that have the same name. -// /// -// public string FolderRelativeId { get; } + // /// + // /// Gets an identifier for the current folder. This ID is unique for the query result or StorageFolder that contains the current folder or file group, and can be used to distinguish between items that have the same name. + // /// + // public string FolderRelativeId { get; } -// /// -// /// Gets the name of the current folder. -// /// -// public string Name { get; } + /// + /// Gets the name of the current folder. + /// + public string Name { get; } -// /// -// /// Gets the full path of the current folder in the file system, if the path is available. -// /// -// public string Path { get; } + /// + /// Gets the full path of the current folder in the file system, if the path is available. + /// + public string Path { get; } -// /// -// /// Gets an object that provides access to the content-related properties of the current folder. -// /// -// public StorageItemContentProperties Properties { get; } + // /// + // /// Gets an object that provides access to the content-related properties of the current folder. + // /// + // public StorageItemContentProperties Properties { get; } -// /// -// /// Gets the StorageProvider object that contains info about the service that stores the current folder. -// /// -// public StorageProvider Provider { get; } + // /// + // /// Gets the StorageProvider object that contains info about the service that stores the current folder. + // /// + // public StorageProvider Provider { get; } -// public bool AreQueryOptionsSupported(QueryOptions queryOptions) -// { } + // public bool AreQueryOptionsSupported(QueryOptions queryOptions) + // { } -// public IAsyncOperation CreateFileAsync(String desiredName) -// { } + // public IAsyncOperation CreateFileAsync(String desiredName) + // { } -// public StorageFileQueryResult CreateFileQuery() -// { } + // public StorageFileQueryResult CreateFileQuery() + // { } -// public StorageFileQueryResult CreateFileQuery(CommonFileQuery query) -// { } + // public StorageFileQueryResult CreateFileQuery(CommonFileQuery query) + // { } -// public StorageFileQueryResult CreateFileQueryWithOptions(QueryOptions queryOptions) -// { } + // public StorageFileQueryResult CreateFileQueryWithOptions(QueryOptions queryOptions) + // { } -// public IAsyncOperation CreateFolderAsync(String desiredName) -// { } + // public IAsyncOperation CreateFolderAsync(String desiredName) + // { } -// public IAsyncOperation CreateFolderAsync(String desiredName, CreationCollisionOption options) -// { } + // public IAsyncOperation CreateFolderAsync(String desiredName, CreationCollisionOption options) + // { } -// public StorageFolderQueryResult CreateFolderQuery() -// { } + // public StorageFolderQueryResult CreateFolderQuery() + // { } -// public StorageFolderQueryResult CreateFolderQuery(CommonFolderQuery query) -// { } + // public StorageFolderQueryResult CreateFolderQuery(CommonFolderQuery query) + // { } -// public StorageFolderQueryResult CreateFolderQueryWithOptions(QueryOptions queryOptions) -// { } + // public StorageFolderQueryResult CreateFolderQueryWithOptions(QueryOptions queryOptions) + // { } -// public StorageItemQueryResult CreateItemQuery() -// { } + // public StorageItemQueryResult CreateItemQuery() + // { } -// public StorageItemQueryResult CreateItemQueryWithOptions(QueryOptions queryOptions) -// { } + // public StorageItemQueryResult CreateItemQueryWithOptions(QueryOptions queryOptions) + // { } -// public IAsyncAction DeleteAsync() -// { } + // public IAsyncAction DeleteAsync() + // { } -// public IAsyncAction DeleteAsync(StorageDeleteOption option) -// { } + // public IAsyncAction DeleteAsync(StorageDeleteOption option) + // { } -// public IAsyncOperation GetBasicPropertiesAsync() -// { } + // public IAsyncOperation GetBasicPropertiesAsync() + // { } -// public IAsyncOperation GetFileAsync(String name) -// { } + // public IAsyncOperation GetFileAsync(String name) + // { } -// public IAsyncOperation> GetFilesAsync() -// { } + // public IAsyncOperation> GetFilesAsync() + // { } -// public IAsyncOperation> GetFilesAsync(CommonFileQuery query) -// { } + // public IAsyncOperation> GetFilesAsync(CommonFileQuery query) + // { } -// public IAsyncOperation> GetFilesAsync(CommonFileQuery query, UInt32 startIndex, UInt32 maxItemsToRetrieve) -// { } + // public IAsyncOperation> GetFilesAsync(CommonFileQuery query, UInt32 startIndex, UInt32 maxItemsToRetrieve) + // { } -// public IAsyncOperation GetFolderAsync(String name) -// { } + // public IAsyncOperation GetFolderAsync(String name) + // { } -// public static IAsyncOperation GetFolderFromPathAsync(String path) -// { } + // public static IAsyncOperation GetFolderFromPathAsync(String path) + // { } -// public IAsyncOperation> GetFoldersAsync() -// { } + // public IAsyncOperation> GetFoldersAsync() + // { } -// public IAsyncOperation> GetFoldersAsync(CommonFolderQuery query) -// { } + // public IAsyncOperation> GetFoldersAsync(CommonFolderQuery query) + // { } -// public IAsyncOperation> GetFoldersAsync(CommonFolderQuery query, UInt32 startIndex, UInt32 maxItemsToRetrieve) -// { } + // public IAsyncOperation> GetFoldersAsync(CommonFolderQuery query, UInt32 startIndex, UInt32 maxItemsToRetrieve) + // { } -// public IAsyncOperation GetIndexedStateAsync() -// { } + // public IAsyncOperation GetIndexedStateAsync() + // { } -// public IAsyncOperation GetItemAsync(String name) -// { } + // public IAsyncOperation GetItemAsync(String name) + // { } -// public IAsyncOperation> GetItemsAsync() -// { } + // public IAsyncOperation> GetItemsAsync() + // { } -// public IAsyncOperation> GetItemsAsync(UInt32 startIndex, UInt32 maxItemsToRetrieve) -// { } + // public IAsyncOperation> GetItemsAsync(UInt32 startIndex, UInt32 maxItemsToRetrieve) + // { } -// public IAsyncOperation GetParentAsync() -// { } + // public IAsyncOperation GetParentAsync() + // { } -// public IAsyncOperation GetScaledImageAsThumbnailAsync(ThumbnailMode mode) -// { } + // public IAsyncOperation GetScaledImageAsThumbnailAsync(ThumbnailMode mode) + // { } -// public IAsyncOperation GetScaledImageAsThumbnailAsync(ThumbnailMode mode, UInt32 requestedSize) -// { } + // public IAsyncOperation GetScaledImageAsThumbnailAsync(ThumbnailMode mode, UInt32 requestedSize) + // { } -// public IAsyncOperation GetScaledImageAsThumbnailAsync(ThumbnailMode mode, UInt32 requestedSize, ThumbnailOptions options) -// { } + // public IAsyncOperation GetScaledImageAsThumbnailAsync(ThumbnailMode mode, UInt32 requestedSize, ThumbnailOptions options) + // { } -// public IAsyncOperation GetThumbnailAsync(ThumbnailMode mode) -// { } + // public IAsyncOperation GetThumbnailAsync(ThumbnailMode mode) + // { } -// public IAsyncOperation GetThumbnailAsync(ThumbnailMode mode, UInt32 requestedSize) -// { } + // public IAsyncOperation GetThumbnailAsync(ThumbnailMode mode, UInt32 requestedSize) + // { } -// public IAsyncOperation GetThumbnailAsync(ThumbnailMode mode, UInt32 requestedSize, ThumbnailOptions options) -// { } + // public IAsyncOperation GetThumbnailAsync(ThumbnailMode mode, UInt32 requestedSize, ThumbnailOptions options) + // { } -// public bool IsCommonFileQuerySupported(CommonFileQuery query) -// { } + // public bool IsCommonFileQuerySupported(CommonFileQuery query) + // { } -// public bool IsCommonFolderQuerySupported(CommonFolderQuery query) -// { } + // public bool IsCommonFolderQuerySupported(CommonFolderQuery query) + // { } -// public bool IsEqual(IStorageItem item) -// { } + // public bool IsEqual(IStorageItem item) + // { } -// public bool IsOfType(StorageItemTypes type) -// { } + // public bool IsOfType(StorageItemTypes type) + // { } -// public IAsyncAction RenameAsync(String desiredName) -// { } + // public IAsyncAction RenameAsync(String desiredName) + // { } -// public IAsyncAction RenameAsync(String desiredName, NameCollisionOption option) -// { } + // public IAsyncAction RenameAsync(String desiredName, NameCollisionOption option) + // { } -// public StorageLibraryChangeTracker TryGetChangeTracker() -// { } + // public StorageLibraryChangeTracker TryGetChangeTracker() + // { } -// public IAsyncOperation TryGetItemAsync(String name) -// { } -// } -//} + // public IAsyncOperation TryGetItemAsync(String name) + // { } + } +} diff --git a/source/Windows.Storage.nfproj b/source/Windows.Storage.nfproj index ce47ae6..bc74425 100644 --- a/source/Windows.Storage.nfproj +++ b/source/Windows.Storage.nfproj @@ -12,7 +12,8 @@ Library Properties 512 - + + Windows.Storage v1.0 True @@ -42,7 +43,7 @@ false - + @@ -113,8 +114,8 @@ True True - - packages\nanoFramework.Windows.Storage.Streams.1.0.0-preview201\lib\Windows.Storage.Streams.dll + + packages\nanoFramework.Windows.Storage.Streams.1.0.0-preview203\lib\Windows.Storage.Streams.dll True True diff --git a/source/packages.config b/source/packages.config index 34f21a7..7848230 100644 --- a/source/packages.config +++ b/source/packages.config @@ -1,7 +1,7 @@  - + \ No newline at end of file