Gorgon
Show / Hide Table of Contents

Class GorgonFileExtensionComparer

A comparer used to perform a comparison on two instances of GorgonFileExtension.

Inheritance
object
GorgonFileExtensionComparer
Implements
IComparer<GorgonFileExtension>
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Gorgon.IO
Assembly: Gorgon.Core.dll
Syntax
public class GorgonFileExtensionComparer : IComparer<GorgonFileExtension>

Methods

| Edit this page View Source

Compare(GorgonFileExtension, GorgonFileExtension)

Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.

Declaration
public int Compare(GorgonFileExtension x, GorgonFileExtension y)
Parameters
Type Name Description
GorgonFileExtension x

The first object to compare.

GorgonFileExtension y

The second object to compare.

Returns
Type Description
int

A signed integer that indicates the relative values of x and y, as shown in the following table.

ValueMeaning
Less than zero x is less than y.
Zero x equals y.
Greater than zero x is greater than y.

Implements

IComparer<T>

Extension Methods

GorgonDebugExtensions.ValidateObject<T>(T, string)
GorgonNullExtensions.AsNullable<T>(object)
GorgonNullExtensions.IfNull<T>(object, T)
GorgonNullExtensions.IsNull(object)
  • Edit this page
  • View Source
In this article
Back to top Copyright 2023 - Licensed under the MIT license by Michael Winsor (Tape_Worm).
Send comments on this topic to the author