FileSystemFileInfo Struct

The state of a file of a FileSystemBackend.

public readonly struct FileSystemFileInfo : IEquatable<FileSystemFileInfo>
Implements

Constructors

NameDescription
FileSystemFileInfo(long, long)The state of a file of a FileSystemBackend.

FileSystemFileInfo(long, long)

The state of a file of a FileSystemBackend.

public FileSystemFileInfo(long Size, long ModificationTime)

Parameters

Size long
The size of the file, in bytes.
ModificationTime long
The modification timestamp of the file, in milliseconds since the Unix epoch.

Properties

NameDescription
ModificationTimeThe modification timestamp of the file, in milliseconds since the Unix epoch.
SizeThe size of the file, in bytes.

ModificationTime

FileSystemBackend.cs

The modification timestamp of the file, in milliseconds since the Unix epoch.

public long ModificationTime { get; init; }

Property value

long

The size of the file, in bytes.

public long Size { get; init; }

Property value

long

Methods

NameDescription
Deconstruct(long, long)
Equals(FileSystemFileInfo)
Equals(object)
GetHashCode()
ToString()

Deconstruct(long, long)

public void Deconstruct(out long Size, out long ModificationTime)

Parameters

Size long
ModificationTime long

No documentation is available.

Equals overloads

Equals(FileSystemFileInfo)

public bool Equals(FileSystemFileInfo other)
Parameters
other FileSystemFileInfo
Returns

bool

No documentation is available.

Equals(object)

public override bool Equals(object obj)
Parameters
obj object
Returns

bool

No documentation is available.

GetHashCode()

public override int GetHashCode()

Returns

int

No documentation is available.

ToString()

public override string ToString()

Returns

string

No documentation is available.

Operators

NameDescription
operator ==(FileSystemFileInfo, FileSystemFileInfo)
operator !=(FileSystemFileInfo, FileSystemFileInfo)

operator ==(FileSystemFileInfo, FileSystemFileInfo)

public static bool operator ==(FileSystemFileInfo left, FileSystemFileInfo right)

Parameters

left FileSystemFileInfo
right FileSystemFileInfo

Returns

bool

No documentation is available.

operator !=(FileSystemFileInfo, FileSystemFileInfo)

public static bool operator !=(FileSystemFileInfo left, FileSystemFileInfo right)

Parameters

left FileSystemFileInfo
right FileSystemFileInfo

Returns

bool

No documentation is available.