Table of Contents

Struct ExiledLib

Namespace
Exiled.Loader.Models
Assembly
Exiled.Loader.dll

An asset containing all information about an assembly's version.

public readonly struct ExiledLib : IComparable, IComparable<ExiledLib>
Implements
Inherited Members
Extension Methods

Constructors

ExiledLib(Assembly)

Initializes a new instance of the ExiledLib struct.

public ExiledLib(Assembly lib)

Parameters

lib Assembly

Fields

Library

The assembly.

public readonly Assembly Library

Field Value

Assembly

Version

The version.

public readonly Version Version

Field Value

Version

Methods

CompareTo(ExiledLib)

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

public int CompareTo(ExiledLib other)

Parameters

other ExiledLib

An object to compare with this instance.

Returns

int

A value that indicates the relative order of the objects being compared. The return value has these meanings: Value Meaning Less than zero This instance precedes other in the sort order. Zero This instance occurs in the same position in the sort order as other. Greater than zero This instance follows other in the sort order.

CompareTo(object)

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

public int CompareTo(object obj)

Parameters

obj object

An object to compare with this instance.

Returns

int

A value that indicates the relative order of the objects being compared. The return value has these meanings: Value Meaning Less than zero This instance precedes other in the sort order. Zero This instance occurs in the same position in the sort order as other. Greater than zero This instance follows other in the sort order.