FilePatternMatch.Equals Method

Definition

Overloads

Equals(FilePatternMatch)

Determines if the specified match is equivalent to the current match using a case-insensitive comparison.

Equals(Object)

Determines if the specified object is equivalent to the current match using a case-insensitive comparison.

Equals(FilePatternMatch)

Source:
FilePatternMatch.cs
Source:
FilePatternMatch.cs

Determines if the specified match is equivalent to the current match using a case-insensitive comparison.

public bool Equals (Microsoft.Extensions.FileSystemGlobbing.FilePatternMatch other);

Parameters

other
FilePatternMatch

The other match to be compared.

Returns

true if Path and Stem are equal using case-insensitive comparison; otherwise, false.

Implements

Applies to

.NET 9 (package-provided) og andre versjoner
Produkt Versjoner
.NET 6 (package-provided), 7 (package-provided), 8 (package-provided), 9 (package-provided)
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)

Equals(Object)

Source:
FilePatternMatch.cs
Source:
FilePatternMatch.cs

Determines if the specified object is equivalent to the current match using a case-insensitive comparison.

public override bool Equals (object? obj);

Parameters

obj
Object

The object to be compared.

Returns

true when Equals(FilePatternMatch).

Applies to

.NET 9 (package-provided) og andre versjoner
Produkt Versjoner
.NET 6 (package-provided), 7 (package-provided), 8 (package-provided), 9 (package-provided)
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)