-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFileManagerEntry.cs
More file actions
81 lines (66 loc) · 2.09 KB
/
FileManagerEntry.cs
File metadata and controls
81 lines (66 loc) · 2.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
// <copyright file="FileManagerEntry.cs" company="Moonrise Software, LLC">
// Copyright (c) Moonrise Software, LLC. All rights reserved.
// Licensed under the GNU Public License, Version 3.0 (https://www.gnu.org/licenses/gpl-3.0.html)
// See https://github.com/MoonriseSoftwareCalifornia/CosmosCMS
// for more information concerning the license and the contributors participating to this project.
// </copyright>
namespace Cosmos.BlobService;
using System;
/// <summary>
/// File manager entry.
/// </summary>
public class FileManagerEntry
{
/// <summary>
/// Gets or sets date created.
/// </summary>
public DateTime Created { get; set; }
/// <summary>
/// Gets or sets date created in UTC.
/// </summary>
public DateTime CreatedUtc { get; set; }
/// <summary>
/// Gets or sets file extention.
/// </summary>
public string Extension { get; set; }
/// <summary>
/// Gets or sets a value indicating whether if folder, does it have child folders.
/// </summary>
public bool HasDirectories { get; set; }
/// <summary>
/// Gets or sets a value indicating whether is a directory.
/// </summary>
public bool IsDirectory { get; set; }
/// <summary>
/// Gets or sets date/time modified.
/// </summary>
public DateTime Modified { get; set; }
/// <summary>
/// Gets or sets date/time modified in UTC.
/// </summary>
public DateTime ModifiedUtc { get; set; }
/// <summary>
/// Gets or sets item name.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Gets or sets item path.
/// </summary>
public string Path { get; set; }
/// <summary>
/// Gets or sets size in bytes.
/// </summary>
public long Size { get; set; }
/// <summary>
/// Gets or sets the image width.
/// </summary>
public int? ImageX { get; set; }
/// <summary>
/// Gets or sets the image height.
/// </summary>
public int? ImageY { get; set; }
/// <summary>
/// Gets or sets the image DPI.
/// </summary>
public int? ImageDpi { get; set; }
}