Skip to main content

StorageFileElement

Namespace: Busy.Bar

A file entry within a directory listing.

public sealed record class StorageFileElement : StorageListElement, System.IEquatable`1[[Busy.Bar.StorageListElement, BusyBar, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.IEquatable`1[[Busy.Bar.StorageFileElement, BusyBar, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]

Inheritance ObjectStorageListElement → StorageFileElement
Implements IEquatable<StorageListElement>, IEquatable<StorageFileElement>
Attributes NullableContextAttribute, NullableAttribute, RequiredMemberAttribute

Properties

Size

File size, in bytes.

public required long Size { get; init; }

Property Value

Int64

Name

File or directory name.

public required string Name { get; init; }

Property Value

String

Constructors

StorageFileElement()

Caution

Constructors of types with required members are not supported in this version of your compiler.


public StorageFileElement()