FileSystemEntry Struct

An entry of a directory of a FileSystemBackend.

public readonly struct FileSystemEntry : IEquatable<FileSystemEntry>
Implements

Constructors

NameDescription
FileSystemEntry(string, FileSystemHandleKind)An entry of a directory of a FileSystemBackend.

FileSystemEntry(string, FileSystemHandleKind)

An entry of a directory of a FileSystemBackend.

public FileSystemEntry(string Name, FileSystemHandleKind Kind)

Parameters

Name string
The name of the entry.
Kind FileSystemHandleKind
The kind of the entry.

Properties

NameDescription
KindThe kind of the entry.
NameThe name of the entry.

The kind of the entry.

public FileSystemHandleKind Kind { get; init; }

Property value

FileSystemHandleKind

The name of the entry.

public string Name { get; init; }

Property value

string

Methods

NameDescription
Deconstruct(string, FileSystemHandleKind)
Equals(FileSystemEntry)
Equals(object)
GetHashCode()
ToString()

Deconstruct(string, FileSystemHandleKind)

public void Deconstruct(out string Name, out FileSystemHandleKind Kind)

Parameters

Name string
Kind FileSystemHandleKind

No documentation is available.

Equals overloads

Equals(FileSystemEntry)

public bool Equals(FileSystemEntry other)
Parameters
other FileSystemEntry
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 ==(FileSystemEntry, FileSystemEntry)
operator !=(FileSystemEntry, FileSystemEntry)

operator ==(FileSystemEntry, FileSystemEntry)

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

Parameters

left FileSystemEntry
right FileSystemEntry

Returns

bool

No documentation is available.

operator !=(FileSystemEntry, FileSystemEntry)

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

Parameters

left FileSystemEntry
right FileSystemEntry

Returns

bool

No documentation is available.