Show / Hide Table of Contents

    Struct AnyNumber

    INTERNAL API

    Namespace: Akka.Cluster.Metrics.Helpers
    Assembly: Akka.Cluster.Metrics.dll
    Syntax
    public struct AnyNumber

    Constructors

    | Improve this Doc View Source

    AnyNumber(Double)

    Declaration
    public AnyNumber(double n)
    Parameters
    Type Name Description
    Double n
    | Improve this Doc View Source

    AnyNumber(Int32)

    Declaration
    public AnyNumber(int n)
    Parameters
    Type Name Description
    Int32 n
    | Improve this Doc View Source

    AnyNumber(Int64)

    Declaration
    public AnyNumber(long n)
    Parameters
    Type Name Description
    Int64 n
    | Improve this Doc View Source

    AnyNumber(Single)

    Declaration
    public AnyNumber(float n)
    Parameters
    Type Name Description
    Single n

    Properties

    | Improve this Doc View Source

    DoubleValue

    Declaration
    public double DoubleValue { get; }
    Property Value
    Type Description
    Double
    | Improve this Doc View Source

    LongValue

    Declaration
    public long LongValue { get; }
    Property Value
    Type Description
    Int64
    | Improve this Doc View Source

    Type

    Declaration
    public AnyNumber.NumberType Type { get; }
    Property Value
    Type Description
    AnyNumber.NumberType

    Methods

    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    Operators

    | Improve this Doc View Source

    Implicit(Double to AnyNumber)

    Declaration
    public static implicit operator AnyNumber(double n)
    Parameters
    Type Name Description
    Double n
    Returns
    Type Description
    AnyNumber
    | Improve this Doc View Source

    Implicit(Int32 to AnyNumber)

    Declaration
    public static implicit operator AnyNumber(int n)
    Parameters
    Type Name Description
    Int32 n
    Returns
    Type Description
    AnyNumber
    | Improve this Doc View Source

    Implicit(Int64 to AnyNumber)

    Declaration
    public static implicit operator AnyNumber(long n)
    Parameters
    Type Name Description
    Int64 n
    Returns
    Type Description
    AnyNumber
    | Improve this Doc View Source

    Implicit(Single to AnyNumber)

    Declaration
    public static implicit operator AnyNumber(float n)
    Parameters
    Type Name Description
    Single n
    Returns
    Type Description
    AnyNumber

    Extension Methods

    ObjectExtensions.AsOption<T>(T)
    ObjectExtensions.IsDefaultForType<T>(T)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2013-2021 Akka.NET project
    Generated by DocFX