Currency Currency
Currency Currency
DocFX + Singulink = ♥

Search Results for

    Method ToMoneyBag

    ToMoneyBag(IReadOnlyMoneyBag)

    Copies the values in the source bag to a new MoneyBag that uses the same registry as the source bag.

    Declaration
    public static MoneyBag ToMoneyBag(this IReadOnlyMoneyBag source)
    Parameters
    Type Name Description
    IReadOnlyMoneyBag source
    Returns
    Type Description
    MoneyBag

    ToMoneyBag(IReadOnlyMoneyBag, CurrencyRegistry)

    Copies the values in the source bag to a new MoneyBag that uses the specified registry.

    Declaration
    public static MoneyBag ToMoneyBag(this IReadOnlyMoneyBag source, CurrencyRegistry registry)
    Parameters
    Type Name Description
    IReadOnlyMoneyBag source
    CurrencyRegistry registry
    Returns
    Type Description
    MoneyBag

    ToMoneyBag(IEnumerable<MonetaryValue>, CurrencyRegistry)

    Copies the values in the source collection to a new MoneyBag that uses the specified registry.

    Declaration
    public static MoneyBag ToMoneyBag(this IEnumerable<MonetaryValue> source, CurrencyRegistry registry)
    Parameters
    Type Name Description
    IEnumerable<MonetaryValue> source
    CurrencyRegistry registry
    Returns
    Type Description
    MoneyBag
    © Singulink. All rights reserved.