Currency Currency
Currency Currency
DocFX + Singulink = ♥

Search Results for

    Method ToImmutableMoneyBag

    ToImmutableMoneyBag(IReadOnlyMoneyBag)

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

    Declaration
    public static ImmutableMoneyBag ToImmutableMoneyBag(this IReadOnlyMoneyBag source)
    Parameters
    Type Name Description
    IReadOnlyMoneyBag source
    Returns
    Type Description
    ImmutableMoneyBag

    ToImmutableMoneyBag(IReadOnlyMoneyBag, CurrencyRegistry)

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

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

    ToImmutableMoneyBag(IEnumerable<MonetaryValue>, CurrencyRegistry)

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

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