Table of Contents

Class PackageLoadingAssetFile.FileSizeComparer

Namespace
Stride.Core.Assets
Assembly
Stride.Core.Assets.dll
public class PackageLoadingAssetFile.FileSizeComparer : Comparer<PackageLoadingAssetFile>, IComparer<PackageLoadingAssetFile>, IComparer
Inheritance
PackageLoadingAssetFile.FileSizeComparer
Implements
Inherited Members

Fields

Default

public static readonly PackageLoadingAssetFile.FileSizeComparer Default

Field Value

PackageLoadingAssetFile.FileSizeComparer

Methods

Compare(PackageLoadingAssetFile, PackageLoadingAssetFile)

When overridden in a derived class, performs a comparison of two objects of the same type and returns a value indicating whether one object is less than, equal to, or greater than the other.

public override int Compare(PackageLoadingAssetFile x, PackageLoadingAssetFile y)

Parameters

x PackageLoadingAssetFile

The first object to compare.

y PackageLoadingAssetFile

The second object to compare.

Returns

int

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

Value Meaning
Less than zerox is less than y.
Zerox equals y.
Greater than zerox is greater than y.

Exceptions

ArgumentException

Type T does not implement either the IComparable<T> generic interface or the IComparable interface.