Search Results for

    Show / Hide Table of Contents

    Class AppVersion

    Comparable version information.

    The typical convention is to use 3 digit version numbers major.minor.patch, but 1 or two digits are also supported.

    If no . is used it is interpreted as a single digit version number or as plain alphanumeric if it couldn't be parsed as a number.

    It may also have a qualifier at the end for 2 or 3 digit version numbers such as "1.2-RC1". For 1 digit with qualifier, 1-RC1, it is interpreted as plain alphanumeric.

    It has support for https://github.com/dwijnand/sbt-dynver format with + or - separator. The number of commits from the tag is handled as a numeric part. For example 1.0.0+3-73475dce26 is less than 1.0.10+10-ed316bd024 (3 < 10).

    Inheritance
    object
    AppVersion
    Implements
    IComparable<AppVersion>
    IEquatable<AppVersion>
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Akka.Util
    Assembly: Akka.dll
    Syntax
    public class AppVersion : IComparable<AppVersion>, IEquatable<AppVersion>

    Fields

    | Edit this page View Source

    Zero

    Declaration
    public static readonly AppVersion Zero
    Field Value
    Type Description
    AppVersion

    Properties

    | Edit this page View Source

    Version

    Declaration
    public string Version { get; }
    Property Value
    Type Description
    string

    Methods

    | Edit this page View Source

    CompareTo(AppVersion)

    Declaration
    public int CompareTo(AppVersion other)
    Parameters
    Type Name Description
    AppVersion other
    Returns
    Type Description
    int
    | Edit this page View Source

    Create(string)

    Declaration
    public static AppVersion Create(string version)
    Parameters
    Type Name Description
    string version
    Returns
    Type Description
    AppVersion
    | Edit this page View Source

    Equals(AppVersion)

    Declaration
    public bool Equals(AppVersion other)
    Parameters
    Type Name Description
    AppVersion other
    Returns
    Type Description
    bool
    | Edit this page View Source

    Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    object.Equals(object)
    | Edit this page View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()
    | Edit this page View Source

    ToString()

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

    Operators

    | Edit this page View Source

    operator ==(AppVersion, AppVersion)

    Declaration
    public static bool operator ==(AppVersion first, AppVersion second)
    Parameters
    Type Name Description
    AppVersion first
    AppVersion second
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator !=(AppVersion, AppVersion)

    Declaration
    public static bool operator !=(AppVersion first, AppVersion second)
    Parameters
    Type Name Description
    AppVersion first
    AppVersion second
    Returns
    Type Description
    bool

    Implements

    IComparable<T>
    IEquatable<T>

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(object)
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET