Show / Hide Table of Contents

    Class AlmostVersion

    Inheritance
    Object
    AlmostVersion
    Implements
    IComparable<AlmostVersion>
    IComparable<SemVer.Version>
    Inherited Members
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: IPA.Utilities
    Assembly: IPA.Loader.dll
    Syntax
    public class AlmostVersion : IComparable<AlmostVersion>, IComparable<SemVer.Version>

    Constructors

    | Improve this Doc View Source

    AlmostVersion(SemVer.Version)

    Declaration
    public AlmostVersion(SemVer.Version ver)
    Parameters
    Type Name Description
    SemVer.Version ver
    | Improve this Doc View Source

    AlmostVersion(String)

    Declaration
    public AlmostVersion(string vertext)
    Parameters
    Type Name Description
    String vertext
    | Improve this Doc View Source

    AlmostVersion(String, AlmostVersion)

    Declaration
    public AlmostVersion(string vertext, AlmostVersion copyMode)
    Parameters
    Type Name Description
    String vertext
    AlmostVersion copyMode
    | Improve this Doc View Source

    AlmostVersion(String, AlmostVersion.StoredAs)

    Declaration
    public AlmostVersion(string vertext, AlmostVersion.StoredAs mode)
    Parameters
    Type Name Description
    String vertext
    AlmostVersion.StoredAs mode

    Properties

    | Improve this Doc View Source

    SemverValue

    Declaration
    public SemVer.Version SemverValue { get; }
    Property Value
    Type Description
    SemVer.Version
    | Improve this Doc View Source

    StringValue

    Declaration
    public string StringValue { get; }
    Property Value
    Type Description
    String

    Methods

    | Improve this Doc View Source

    CompareTo(AlmostVersion)

    Declaration
    public int CompareTo(AlmostVersion other)
    Parameters
    Type Name Description
    AlmostVersion other
    Returns
    Type Description
    Int32
    | Improve this Doc View Source

    CompareTo(SemVer.Version)

    Declaration
    public int CompareTo(SemVer.Version other)
    Parameters
    Type Name Description
    SemVer.Version other
    Returns
    Type Description
    Int32
    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Boolean
    Overrides
    Object.Equals(Object)
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    Object.GetHashCode()
    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    Object.ToString()

    Operators

    | Improve this Doc View Source

    Equality(AlmostVersion, AlmostVersion)

    Declaration
    public static bool operator ==(AlmostVersion l, AlmostVersion r)
    Parameters
    Type Name Description
    AlmostVersion l
    AlmostVersion r
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    Implicit(AlmostVersion to SemVer.Version)

    Declaration
    public static implicit operator SemVer.Version(AlmostVersion av)
    Parameters
    Type Name Description
    AlmostVersion av
    Returns
    Type Description
    SemVer.Version
    | Improve this Doc View Source

    Implicit(SemVer.Version to AlmostVersion)

    Declaration
    public static implicit operator AlmostVersion(SemVer.Version ver)
    Parameters
    Type Name Description
    SemVer.Version ver
    Returns
    Type Description
    AlmostVersion
    | Improve this Doc View Source

    Inequality(AlmostVersion, AlmostVersion)

    Declaration
    public static bool operator !=(AlmostVersion l, AlmostVersion r)
    Parameters
    Type Name Description
    AlmostVersion l
    AlmostVersion r
    Returns
    Type Description
    Boolean

    Implements

    System.IComparable<T>
    System.IComparable<T>

    Extension Methods

    ReflectionUtil.SetPrivateField(Object, String, Object)
    ReflectionUtil.GetPrivateField<T>(Object, String)
    ReflectionUtil.SetPrivateProperty(Object, String, Object)
    ReflectionUtil.InvokePrivateMethod(Object, String, Object[])
    ReflectionUtil.InvokePrivateMethod<T>(Object, String, Object[])
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX