/
githubmirror
/
Files
Обзор
Документация
Войти
/
githubmirror
/
Files
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Files.App/Data/Items/ShellFileItem.cs
52 строки
1 KB
Yair
Code Quality: Updated license header
31 дек 2024, 05:03
31 дек 2024, 05:03
8436c6d
Код
Авторство
О чём код?
// Copyright (c) Files Community // Licensed under the MIT License. namespace Files.App.Data.Items { public class ShellFileItem { public bool IsFolder { get; set; } public string RecyclePath { get; set; } public string FileName { get; set; } public string FilePath { get; set; } public DateTime RecycleDate { get; set; } public DateTime ModifiedDate { get; set; } public DateTime CreatedDate { get; set; } public string FileSize { get; set; } public ulong FileSizeBytes { get; set; } public string FileType { get; set; } public byte[] PIDL { get; set; } // Low level shell item identifier public Dictionary<string, object?> Properties { get; set; } public ShellFileItem() { Properties = []; } public ShellFileItem(bool isFolder, string recyclePath, string fileName, string filePath, DateTime recycleDate, DateTime modifiedDate, DateTime createdDate, string fileSize, ulong fileSizeBytes, string fileType, byte[] pidl) : this() { IsFolder = isFolder; RecyclePath = recyclePath; FileName = fileName; FilePath = filePath; RecycleDate = recycleDate; ModifiedDate = modifiedDate; CreatedDate = createdDate; FileSize = fileSize; FileSizeBytes = fileSizeBytes; FileType = fileType; PIDL = pidl; } } }