FullPathComparer Class

Provides comparison and equality operations for FullPath values.

public sealed class FullPathComparer : IComparer<FullPath>, IEqualityComparer<FullPath>
Implements

Properties

NameDescription
CaseInsensitiveGets a case-insensitive comparer.
CaseSensitiveGets a case-sensitive comparer.
DefaultGets the default comparer for the current operating system (case-insensitive on Windows, macOS, iOS and tvOS, case-sensitive elsewhere).
IsCaseSensitiveGets a value indicating whether this comparer performs case-sensitive comparisons.

CaseInsensitive

FullPathComparer.cs

Gets a case-insensitive comparer.

public static FullPathComparer CaseInsensitive { get; }

Property value

FullPathComparer

CaseSensitive

FullPathComparer.cs

Gets a case-sensitive comparer.

public static FullPathComparer CaseSensitive { get; }

Property value

FullPathComparer

Gets the default comparer for the current operating system (case-insensitive on Windows, macOS, iOS and tvOS, case-sensitive elsewhere).

public static FullPathComparer Default { get; }

Property value

FullPathComparer

IsCaseSensitive

FullPathComparer.cs

Gets a value indicating whether this comparer performs case-sensitive comparisons.

public bool IsCaseSensitive { get; }

Property value

bool

Methods

NameDescription
Compare(FullPath, FullPath)
Equals(FullPath, FullPath)
GetHashCode(FullPath)

Compare(FullPath, FullPath)

FullPathComparer.cs
public int Compare(FullPath x, FullPath y)

Parameters

x FullPath
y FullPath

Returns

int

No documentation is available.

Equals(FullPath, FullPath)

FullPathComparer.cs
public bool Equals(FullPath x, FullPath y)

Parameters

x FullPath
y FullPath

Returns

bool

No documentation is available.

GetHashCode(FullPath)

FullPathComparer.cs
public int GetHashCode(FullPath obj)

Parameters

obj FullPath

Returns

int

No documentation is available.