/
githubmirror
/
Files
Обзор
Документация
Войти
/
githubmirror
/
Files
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Files.App/Utils/Storage/StorageBaseItems/IBaseStorageFolder.cs
58 строк
2 KB
Yair
Code Quality: Ran code cleanup (#17307)
25 июл 2025, 03:57
Не верифицирован
25 июл 2025, 03:57
4558bc2
Код
Авторство
О чём код?
// Copyright (c) Files Community // Licensed under the MIT License. using Windows.Foundation; using Windows.Storage; using Windows.Storage.FileProperties; using Windows.Storage.Search; namespace Files.App.Utils.Storage { public interface IBaseStorageFolder : IStorageItem2, IStorageFolder, IStorageFolder2, IStorageItemProperties2, IStorageItemPropertiesWithProvider, IStorageFolderQueryOperations { new IStorageItemExtraProperties Properties { get; } IAsyncOperation<StorageFolder> ToStorageFolderAsync(); new IAsyncOperation<BaseStorageFolder> GetParentAsync(); new IAsyncOperation<BaseBasicProperties> GetBasicPropertiesAsync(); new IAsyncOperation<IStorageItem> GetItemAsync(string name); new IAsyncOperation<IReadOnlyList<IStorageItem>> GetItemsAsync(); new IAsyncOperation<BaseStorageFile> GetFileAsync(string name); new IAsyncOperation<IReadOnlyList<BaseStorageFile>> GetFilesAsync(); new IAsyncOperation<IReadOnlyList<BaseStorageFile>> GetFilesAsync(CommonFileQuery query); new IAsyncOperation<IReadOnlyList<BaseStorageFile>> GetFilesAsync(CommonFileQuery query, uint startIndex, uint maxItemsToRetrieve); new IAsyncOperation<BaseStorageFolder> GetFolderAsync(string name); new IAsyncOperation<IReadOnlyList<BaseStorageFolder>> GetFoldersAsync(); new IAsyncOperation<IReadOnlyList<BaseStorageFolder>> GetFoldersAsync(CommonFolderQuery query); new IAsyncOperation<IReadOnlyList<BaseStorageFolder>> GetFoldersAsync(CommonFolderQuery query, uint startIndex, uint maxItemsToRetrieve); new IAsyncOperation<BaseStorageFile> CreateFileAsync(string desiredName); new IAsyncOperation<BaseStorageFile> CreateFileAsync(string desiredName, CreationCollisionOption options); new IAsyncOperation<BaseStorageFolder> CreateFolderAsync(string desiredName); new IAsyncOperation<BaseStorageFolder> CreateFolderAsync(string desiredName, CreationCollisionOption options); IAsyncOperation<BaseStorageFolder> MoveAsync(IStorageFolder destinationFolder); IAsyncOperation<BaseStorageFolder> MoveAsync(IStorageFolder destinationFolder, NameCollisionOption option); new BaseStorageItemQueryResult CreateItemQueryWithOptions(QueryOptions queryOptions); new BaseStorageFileQueryResult CreateFileQueryWithOptions(QueryOptions queryOptions); new BaseStorageFolderQueryResult CreateFolderQueryWithOptions(QueryOptions queryOptions); } }