Inttegro .NET SDK
Search Results for

    Show / Hide Table of Contents

    Class CustomerBalance

    Inheritance
    object
    CustomerBalance
    Implements
    IReadOnlyDictionary<string, CustomerBalanceValue>
    IReadOnlyCollection<KeyValuePair<string, CustomerBalanceValue>>
    IEnumerable<KeyValuePair<string, CustomerBalanceValue>>
    IEnumerable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Inttegro
    Assembly: Inttegro.dll
    Syntax
    [JsonConverter(typeof(CustomerBalanceJsonConverter))]
    public sealed class CustomerBalance : IReadOnlyDictionary<string, CustomerBalanceValue>, IReadOnlyCollection<KeyValuePair<string, CustomerBalanceValue>>, IEnumerable<KeyValuePair<string, CustomerBalanceValue>>, IEnumerable

    Properties

    | Edit this page View Source

    Count

    Gets the number of elements in the collection.

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    int

    The number of elements in the collection.

    | Edit this page View Source

    this[string]

    Gets the element that has the specified key in the read-only dictionary.

    Declaration
    public CustomerBalanceValue this[string key] { get; }
    Parameters
    Type Name Description
    string key

    The key to locate.

    Property Value
    Type Description
    CustomerBalanceValue

    The element that has the specified key in the read-only dictionary.

    Exceptions
    Type Condition
    ArgumentNullException

    key is null.

    KeyNotFoundException

    The property is retrieved and key is not found.

    | Edit this page View Source

    Keys

    Gets an enumerable collection that contains the keys in the read-only dictionary.

    Declaration
    public IEnumerable<string> Keys { get; }
    Property Value
    Type Description
    IEnumerable<string>

    An enumerable collection that contains the keys in the read-only dictionary.

    | Edit this page View Source

    Values

    Gets an enumerable collection that contains the values in the read-only dictionary.

    Declaration
    public IEnumerable<CustomerBalanceValue> Values { get; }
    Property Value
    Type Description
    IEnumerable<CustomerBalanceValue>

    An enumerable collection that contains the values in the read-only dictionary.

    Methods

    | Edit this page View Source

    ContainsKey(string)

    Determines whether the read-only dictionary contains an element that has the specified key.

    Declaration
    public bool ContainsKey(string key)
    Parameters
    Type Name Description
    string key

    The key to locate.

    Returns
    Type Description
    bool

    true if the read-only dictionary contains an element that has the specified key; otherwise, false.

    Exceptions
    Type Condition
    ArgumentNullException

    key is null.

    | Edit this page View Source

    GetEnumerator()

    Returns an enumerator that iterates through the collection.

    Declaration
    public IEnumerator<KeyValuePair<string, CustomerBalanceValue>> GetEnumerator()
    Returns
    Type Description
    IEnumerator<KeyValuePair<string, CustomerBalanceValue>>

    An enumerator that can be used to iterate through the collection.

    | Edit this page View Source

    TryGetValue(string, out CustomerBalanceValue)

    Gets the value that is associated with the specified key.

    Declaration
    public bool TryGetValue(string key, out CustomerBalanceValue value)
    Parameters
    Type Name Description
    string key

    The key to locate.

    CustomerBalanceValue value

    When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.

    Returns
    Type Description
    bool

    true if the object that implements the IReadOnlyDictionary<TKey, TValue> interface contains an element that has the specified key; otherwise, false.

    Exceptions
    Type Condition
    ArgumentNullException

    key is null.

    Implements

    IReadOnlyDictionary<TKey, TValue>
    IReadOnlyCollection<T>
    IEnumerable<T>
    IEnumerable
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX