Search Results for

    Show / Hide Table of Contents

    Class Currency

    Inheritance
    object
    Currency
    Implements
    IComparable
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9
    Assembly: Glitch9.dll
    Syntax
    [Serializable]
    [JsonConverter(typeof(CurrencyJsonConverter))]
    public class Currency : IComparable

    Constructors

    | Edit this page View Source

    Currency()

    Declaration
    public Currency()
    | Edit this page View Source

    Currency(double, CurrencyCode, bool)

    Declaration
    public Currency(double priceInUsd, CurrencyCode currencyCode = CurrencyCode.USD, bool isEstimate = false)
    Parameters
    Type Name Description
    double priceInUsd
    CurrencyCode currencyCode
    bool isEstimate

    Properties

    | Edit this page View Source

    CurrencyCode

    Declaration
    public CurrencyCode CurrencyCode { get; set; }
    Property Value
    Type Description
    CurrencyCode
    | Edit this page View Source

    IsEstimate

    Declaration
    public bool IsEstimate { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    PriceInUsd

    Declaration
    public double PriceInUsd { get; set; }
    Property Value
    Type Description
    double
    | Edit this page View Source

    Value

    Declaration
    public double Value { get; set; }
    Property Value
    Type Description
    double

    Methods

    | Edit this page View Source

    CompareTo(object)

    Declaration
    public int CompareTo(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    int
    | 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

    Exchange(double, CurrencyCode, CurrencyCode)

    Declaration
    public static double Exchange(double amount, CurrencyCode fromCurrency, CurrencyCode toCurrency)
    Parameters
    Type Name Description
    double amount
    CurrencyCode fromCurrency
    CurrencyCode toCurrency
    Returns
    Type Description
    double
    | Edit this page View Source

    GetHashCode()

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

    GetSymbol(CurrencyCode)

    Declaration
    public static string GetSymbol(CurrencyCode code)
    Parameters
    Type Name Description
    CurrencyCode code
    Returns
    Type Description
    string
    | Edit this page View Source

    ToString(CurrencyCode, string)

    Declaration
    public string ToString(CurrencyCode code, string arg = null)
    Parameters
    Type Name Description
    CurrencyCode code
    string arg
    Returns
    Type Description
    string
    | Edit this page View Source

    ToString(string)

    Declaration
    public string ToString(string arg = null)
    Parameters
    Type Name Description
    string arg
    Returns
    Type Description
    string

    Operators

    | Edit this page View Source

    operator +(Currency, Currency)

    Declaration
    public static Currency operator +(Currency a, Currency b)
    Parameters
    Type Name Description
    Currency a
    Currency b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator +(Currency, decimal)

    Declaration
    public static Currency operator +(Currency a, decimal b)
    Parameters
    Type Name Description
    Currency a
    decimal b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator +(Currency, double)

    Declaration
    public static Currency operator +(Currency a, double b)
    Parameters
    Type Name Description
    Currency a
    double b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator +(Currency, int)

    Declaration
    public static Currency operator +(Currency a, int b)
    Parameters
    Type Name Description
    Currency a
    int b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator +(Currency, float)

    Declaration
    public static Currency operator +(Currency a, float b)
    Parameters
    Type Name Description
    Currency a
    float b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator +(decimal, Currency)

    Declaration
    public static Currency operator +(decimal a, Currency b)
    Parameters
    Type Name Description
    decimal a
    Currency b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator +(double, Currency)

    Declaration
    public static Currency operator +(double a, Currency b)
    Parameters
    Type Name Description
    double a
    Currency b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator +(int, Currency)

    Declaration
    public static Currency operator +(int a, Currency b)
    Parameters
    Type Name Description
    int a
    Currency b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator +(float, Currency)

    Declaration
    public static Currency operator +(float a, Currency b)
    Parameters
    Type Name Description
    float a
    Currency b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator /(Currency, Currency)

    Declaration
    public static Currency operator /(Currency a, Currency b)
    Parameters
    Type Name Description
    Currency a
    Currency b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator /(Currency, decimal)

    Declaration
    public static Currency operator /(Currency a, decimal b)
    Parameters
    Type Name Description
    Currency a
    decimal b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator /(Currency, double)

    Declaration
    public static Currency operator /(Currency a, double b)
    Parameters
    Type Name Description
    Currency a
    double b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator /(Currency, int)

    Declaration
    public static Currency operator /(Currency a, int b)
    Parameters
    Type Name Description
    Currency a
    int b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator /(Currency, float)

    Declaration
    public static Currency operator /(Currency a, float b)
    Parameters
    Type Name Description
    Currency a
    float b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator /(decimal, Currency)

    Declaration
    public static Currency operator /(decimal a, Currency b)
    Parameters
    Type Name Description
    decimal a
    Currency b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator /(double, Currency)

    Declaration
    public static Currency operator /(double a, Currency b)
    Parameters
    Type Name Description
    double a
    Currency b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator /(int, Currency)

    Declaration
    public static Currency operator /(int a, Currency b)
    Parameters
    Type Name Description
    int a
    Currency b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator /(float, Currency)

    Declaration
    public static Currency operator /(float a, Currency b)
    Parameters
    Type Name Description
    float a
    Currency b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator ==(Currency, Currency)

    Declaration
    public static bool operator ==(Currency a, Currency b)
    Parameters
    Type Name Description
    Currency a
    Currency b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator ==(Currency, decimal)

    Declaration
    public static bool operator ==(Currency a, decimal b)
    Parameters
    Type Name Description
    Currency a
    decimal b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator ==(Currency, double)

    Declaration
    public static bool operator ==(Currency a, double b)
    Parameters
    Type Name Description
    Currency a
    double b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator ==(Currency, int)

    Declaration
    public static bool operator ==(Currency a, int b)
    Parameters
    Type Name Description
    Currency a
    int b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator ==(Currency, float)

    Declaration
    public static bool operator ==(Currency a, float b)
    Parameters
    Type Name Description
    Currency a
    float b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator ==(decimal, Currency)

    Declaration
    public static bool operator ==(decimal a, Currency b)
    Parameters
    Type Name Description
    decimal a
    Currency b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator ==(double, Currency)

    Declaration
    public static bool operator ==(double a, Currency b)
    Parameters
    Type Name Description
    double a
    Currency b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator ==(int, Currency)

    Declaration
    public static bool operator ==(int a, Currency b)
    Parameters
    Type Name Description
    int a
    Currency b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator ==(float, Currency)

    Declaration
    public static bool operator ==(float a, Currency b)
    Parameters
    Type Name Description
    float a
    Currency b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator >(Currency, Currency)

    Declaration
    public static bool operator >(Currency a, Currency b)
    Parameters
    Type Name Description
    Currency a
    Currency b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator >(Currency, decimal)

    Declaration
    public static bool operator >(Currency a, decimal b)
    Parameters
    Type Name Description
    Currency a
    decimal b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator >(Currency, double)

    Declaration
    public static bool operator >(Currency a, double b)
    Parameters
    Type Name Description
    Currency a
    double b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator >(Currency, int)

    Declaration
    public static bool operator >(Currency a, int b)
    Parameters
    Type Name Description
    Currency a
    int b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator >(Currency, float)

    Declaration
    public static bool operator >(Currency a, float b)
    Parameters
    Type Name Description
    Currency a
    float b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator >(decimal, Currency)

    Declaration
    public static bool operator >(decimal a, Currency b)
    Parameters
    Type Name Description
    decimal a
    Currency b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator >(double, Currency)

    Declaration
    public static bool operator >(double a, Currency b)
    Parameters
    Type Name Description
    double a
    Currency b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator >(int, Currency)

    Declaration
    public static bool operator >(int a, Currency b)
    Parameters
    Type Name Description
    int a
    Currency b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator >(float, Currency)

    Declaration
    public static bool operator >(float a, Currency b)
    Parameters
    Type Name Description
    float a
    Currency b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator >=(Currency, Currency)

    Declaration
    public static bool operator >=(Currency a, Currency b)
    Parameters
    Type Name Description
    Currency a
    Currency b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator >=(Currency, decimal)

    Declaration
    public static bool operator >=(Currency a, decimal b)
    Parameters
    Type Name Description
    Currency a
    decimal b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator >=(Currency, double)

    Declaration
    public static bool operator >=(Currency a, double b)
    Parameters
    Type Name Description
    Currency a
    double b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator >=(Currency, int)

    Declaration
    public static bool operator >=(Currency a, int b)
    Parameters
    Type Name Description
    Currency a
    int b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator >=(Currency, float)

    Declaration
    public static bool operator >=(Currency a, float b)
    Parameters
    Type Name Description
    Currency a
    float b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator >=(decimal, Currency)

    Declaration
    public static bool operator >=(decimal a, Currency b)
    Parameters
    Type Name Description
    decimal a
    Currency b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator >=(double, Currency)

    Declaration
    public static bool operator >=(double a, Currency b)
    Parameters
    Type Name Description
    double a
    Currency b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator >=(int, Currency)

    Declaration
    public static bool operator >=(int a, Currency b)
    Parameters
    Type Name Description
    int a
    Currency b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator >=(float, Currency)

    Declaration
    public static bool operator >=(float a, Currency b)
    Parameters
    Type Name Description
    float a
    Currency b
    Returns
    Type Description
    bool
    | Edit this page View Source

    implicit operator double(Currency)

    Declaration
    public static implicit operator double(Currency price)
    Parameters
    Type Name Description
    Currency price
    Returns
    Type Description
    double
    | Edit this page View Source

    implicit operator (double value, bool isEstimate)(Currency)

    Declaration
    public static implicit operator (double value, bool isEstimate)(Currency price)
    Parameters
    Type Name Description
    Currency price
    Returns
    Type Description
    (double value, bool isEstimate)
    | Edit this page View Source

    implicit operator Currency(decimal)

    Declaration
    public static implicit operator Currency(decimal value)
    Parameters
    Type Name Description
    decimal value
    Returns
    Type Description
    Currency
    | Edit this page View Source

    implicit operator Currency(double)

    Declaration
    public static implicit operator Currency(double value)
    Parameters
    Type Name Description
    double value
    Returns
    Type Description
    Currency
    | Edit this page View Source

    implicit operator Currency(int)

    Declaration
    public static implicit operator Currency(int value)
    Parameters
    Type Name Description
    int value
    Returns
    Type Description
    Currency
    | Edit this page View Source

    implicit operator Currency(float)

    Declaration
    public static implicit operator Currency(float value)
    Parameters
    Type Name Description
    float value
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator !=(Currency, Currency)

    Declaration
    public static bool operator !=(Currency a, Currency b)
    Parameters
    Type Name Description
    Currency a
    Currency b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator !=(Currency, decimal)

    Declaration
    public static bool operator !=(Currency a, decimal b)
    Parameters
    Type Name Description
    Currency a
    decimal b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator !=(Currency, double)

    Declaration
    public static bool operator !=(Currency a, double b)
    Parameters
    Type Name Description
    Currency a
    double b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator !=(Currency, int)

    Declaration
    public static bool operator !=(Currency a, int b)
    Parameters
    Type Name Description
    Currency a
    int b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator !=(Currency, float)

    Declaration
    public static bool operator !=(Currency a, float b)
    Parameters
    Type Name Description
    Currency a
    float b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator !=(decimal, Currency)

    Declaration
    public static bool operator !=(decimal a, Currency b)
    Parameters
    Type Name Description
    decimal a
    Currency b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator !=(double, Currency)

    Declaration
    public static bool operator !=(double a, Currency b)
    Parameters
    Type Name Description
    double a
    Currency b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator !=(int, Currency)

    Declaration
    public static bool operator !=(int a, Currency b)
    Parameters
    Type Name Description
    int a
    Currency b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator !=(float, Currency)

    Declaration
    public static bool operator !=(float a, Currency b)
    Parameters
    Type Name Description
    float a
    Currency b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator <(Currency, Currency)

    Declaration
    public static bool operator <(Currency a, Currency b)
    Parameters
    Type Name Description
    Currency a
    Currency b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator <(Currency, decimal)

    Declaration
    public static bool operator <(Currency a, decimal b)
    Parameters
    Type Name Description
    Currency a
    decimal b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator <(Currency, double)

    Declaration
    public static bool operator <(Currency a, double b)
    Parameters
    Type Name Description
    Currency a
    double b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator <(Currency, int)

    Declaration
    public static bool operator <(Currency a, int b)
    Parameters
    Type Name Description
    Currency a
    int b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator <(Currency, float)

    Declaration
    public static bool operator <(Currency a, float b)
    Parameters
    Type Name Description
    Currency a
    float b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator <(decimal, Currency)

    Declaration
    public static bool operator <(decimal a, Currency b)
    Parameters
    Type Name Description
    decimal a
    Currency b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator <(double, Currency)

    Declaration
    public static bool operator <(double a, Currency b)
    Parameters
    Type Name Description
    double a
    Currency b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator <(int, Currency)

    Declaration
    public static bool operator <(int a, Currency b)
    Parameters
    Type Name Description
    int a
    Currency b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator <(float, Currency)

    Declaration
    public static bool operator <(float a, Currency b)
    Parameters
    Type Name Description
    float a
    Currency b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator <=(Currency, Currency)

    Declaration
    public static bool operator <=(Currency a, Currency b)
    Parameters
    Type Name Description
    Currency a
    Currency b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator <=(Currency, decimal)

    Declaration
    public static bool operator <=(Currency a, decimal b)
    Parameters
    Type Name Description
    Currency a
    decimal b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator <=(Currency, double)

    Declaration
    public static bool operator <=(Currency a, double b)
    Parameters
    Type Name Description
    Currency a
    double b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator <=(Currency, int)

    Declaration
    public static bool operator <=(Currency a, int b)
    Parameters
    Type Name Description
    Currency a
    int b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator <=(Currency, float)

    Declaration
    public static bool operator <=(Currency a, float b)
    Parameters
    Type Name Description
    Currency a
    float b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator <=(decimal, Currency)

    Declaration
    public static bool operator <=(decimal a, Currency b)
    Parameters
    Type Name Description
    decimal a
    Currency b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator <=(double, Currency)

    Declaration
    public static bool operator <=(double a, Currency b)
    Parameters
    Type Name Description
    double a
    Currency b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator <=(int, Currency)

    Declaration
    public static bool operator <=(int a, Currency b)
    Parameters
    Type Name Description
    int a
    Currency b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator <=(float, Currency)

    Declaration
    public static bool operator <=(float a, Currency b)
    Parameters
    Type Name Description
    float a
    Currency b
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator %(Currency, Currency)

    Declaration
    public static Currency operator %(Currency a, Currency b)
    Parameters
    Type Name Description
    Currency a
    Currency b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator %(Currency, decimal)

    Declaration
    public static Currency operator %(Currency a, decimal b)
    Parameters
    Type Name Description
    Currency a
    decimal b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator %(Currency, double)

    Declaration
    public static Currency operator %(Currency a, double b)
    Parameters
    Type Name Description
    Currency a
    double b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator %(Currency, int)

    Declaration
    public static Currency operator %(Currency a, int b)
    Parameters
    Type Name Description
    Currency a
    int b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator %(Currency, float)

    Declaration
    public static Currency operator %(Currency a, float b)
    Parameters
    Type Name Description
    Currency a
    float b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator %(decimal, Currency)

    Declaration
    public static Currency operator %(decimal a, Currency b)
    Parameters
    Type Name Description
    decimal a
    Currency b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator %(double, Currency)

    Declaration
    public static Currency operator %(double a, Currency b)
    Parameters
    Type Name Description
    double a
    Currency b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator %(int, Currency)

    Declaration
    public static Currency operator %(int a, Currency b)
    Parameters
    Type Name Description
    int a
    Currency b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator %(float, Currency)

    Declaration
    public static Currency operator %(float a, Currency b)
    Parameters
    Type Name Description
    float a
    Currency b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator *(Currency, Currency)

    Declaration
    public static Currency operator *(Currency a, Currency b)
    Parameters
    Type Name Description
    Currency a
    Currency b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator *(Currency, decimal)

    Declaration
    public static Currency operator *(Currency a, decimal b)
    Parameters
    Type Name Description
    Currency a
    decimal b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator *(Currency, double)

    Declaration
    public static Currency operator *(Currency a, double b)
    Parameters
    Type Name Description
    Currency a
    double b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator *(Currency, int)

    Declaration
    public static Currency operator *(Currency a, int b)
    Parameters
    Type Name Description
    Currency a
    int b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator *(Currency, float)

    Declaration
    public static Currency operator *(Currency a, float b)
    Parameters
    Type Name Description
    Currency a
    float b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator *(decimal, Currency)

    Declaration
    public static Currency operator *(decimal a, Currency b)
    Parameters
    Type Name Description
    decimal a
    Currency b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator *(double, Currency)

    Declaration
    public static Currency operator *(double a, Currency b)
    Parameters
    Type Name Description
    double a
    Currency b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator *(int, Currency)

    Declaration
    public static Currency operator *(int a, Currency b)
    Parameters
    Type Name Description
    int a
    Currency b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator *(float, Currency)

    Declaration
    public static Currency operator *(float a, Currency b)
    Parameters
    Type Name Description
    float a
    Currency b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator -(Currency, Currency)

    Declaration
    public static Currency operator -(Currency a, Currency b)
    Parameters
    Type Name Description
    Currency a
    Currency b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator -(Currency, decimal)

    Declaration
    public static Currency operator -(Currency a, decimal b)
    Parameters
    Type Name Description
    Currency a
    decimal b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator -(Currency, double)

    Declaration
    public static Currency operator -(Currency a, double b)
    Parameters
    Type Name Description
    Currency a
    double b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator -(Currency, int)

    Declaration
    public static Currency operator -(Currency a, int b)
    Parameters
    Type Name Description
    Currency a
    int b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator -(Currency, float)

    Declaration
    public static Currency operator -(Currency a, float b)
    Parameters
    Type Name Description
    Currency a
    float b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator -(decimal, Currency)

    Declaration
    public static Currency operator -(decimal a, Currency b)
    Parameters
    Type Name Description
    decimal a
    Currency b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator -(double, Currency)

    Declaration
    public static Currency operator -(double a, Currency b)
    Parameters
    Type Name Description
    double a
    Currency b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator -(int, Currency)

    Declaration
    public static Currency operator -(int a, Currency b)
    Parameters
    Type Name Description
    int a
    Currency b
    Returns
    Type Description
    Currency
    | Edit this page View Source

    operator -(float, Currency)

    Declaration
    public static Currency operator -(float a, Currency b)
    Parameters
    Type Name Description
    float a
    Currency b
    Returns
    Type Description
    Currency

    Implements

    IComparable

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation