Search Results for

    Show / Hide Table of Contents

    Struct ExiledLib

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

    Implements
    System.IComparable
    System.IComparable<ExiledLib>
    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    Namespace: Exiled.Loader.Models
    Assembly: Exiled.Loader.dll
    Syntax
    public readonly struct ExiledLib : IComparable, IComparable<ExiledLib>

    Constructors

    | Improve this Doc View Source

    ExiledLib(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 Source

    Library

    The assembly.

    Declaration
    public readonly Assembly Library
    Field Value
    Type Description
    System.Reflection.Assembly
    | Improve this Doc View Source

    Version

    The version.

    Declaration
    public readonly SemanticVersioning.Version Version
    Field Value
    Type Description
    SemanticVersioning.Version

    Methods

    | Improve this Doc View Source

    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.

    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.

    | Improve this Doc View Source

    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.

    Implements

    System.IComparable
    System.IComparable<T>

    Extension Methods

    ReflectionExtensions.CopyProperties(Object, Object)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX