Table of Contents

Class PathComparer

Namespace
CarinaStudio.IO
Assembly
CarinaStudio.AppBase.Core.dll

IComparer<T> to compare file paths. Case will be ignored on Windows.

public class PathComparer : IComparer<string>
Inheritance
PathComparer
Implements
Inherited Members
Extension Methods

Fields

Default

Default instance.

public static readonly PathComparer Default

Field Value

PathComparer

Methods

Compare(string?, string?)

Compare file paths.

public int Compare(string? x, string? y)

Parameters

x string

1st file path.

y string

2nd file path.

Returns

int

Comparison result.