Class FileHandleComparer
Provides methods to compare two FileHandle objects for equality based on their full paths.
Inheritance
System.Object
FileHandleComparer
Implements
System.Collections.Generic.IEqualityComparer<FileHandle>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: MGeLabs.Utils.Data
Assembly: cs.temp.dll.dll
Syntax
public class FileHandleComparer : IEqualityComparer<FileHandle>
Methods
Equals(FileHandle, FileHandle)
Determines whether the specified FileHandle objects are equal by comparing their full paths.
Declaration
public bool Equals(FileHandle x, FileHandle y)
Parameters
| Type | Name | Description |
|---|---|---|
| FileHandle | x | The first FileHandle to compare. |
| FileHandle | y | The second FileHandle to compare. |
Returns
| Type | Description |
|---|---|
| System.Boolean |
|
GetHashCode(FileHandle)
Declaration
public int GetHashCode(FileHandle obj)
Parameters
| Type | Name | Description |
|---|---|---|
| FileHandle | obj |
Returns
| Type | Description |
|---|---|
| System.Int32 |
Implements
System.Collections.Generic.IEqualityComparer<T>