Struct ExiledLib
An asset containing all information about an assembly's version.
Inherited Members
Namespace: Exiled.Loader.Models
Assembly: Exiled.Loader.dll
Syntax
public readonly struct ExiledLib : IComparable, IComparable<ExiledLib>
Constructors
| Improve this Doc View SourceExiledLib(Assembly)
Initializes a new instance of the ExiledLib struct.
Declaration
public ExiledLib(Assembly lib)
Parameters
Type | Name | Description |
---|---|---|
System.Reflection.Assembly | lib |
Fields
| Improve this Doc View SourceLibrary
The assembly.
Declaration
public readonly Assembly Library
Field Value
Type | Description |
---|---|
System.Reflection.Assembly |
Version
The version.
Declaration
public readonly SemanticVersioning.Version Version
Field Value
Type | Description |
---|---|
SemanticVersioning.Version |
Methods
| Improve this Doc View SourceCompareTo(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.
Declaration
public readonly int CompareTo(ExiledLib other)
Parameters
Type | Name | Description |
---|---|---|
ExiledLib | other | An object to compare with this instance. |
Returns
Type | Description |
---|---|
System.Int32 | 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.
Declaration
public readonly int CompareTo(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | An object to compare with this instance. |
Returns
Type | Description |
---|---|
System.Int32 | 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. |