using System; namespace Krs.Ats.IBNet { /// /// Update Account Value Event Arguments /// [Serializable()] public class UpdateAccountValueEventArgs : EventArgs { private string accountName; private string currency; private string key; private string value; /// /// Full Constructor /// /// A string that indicates one type of account value. /// The value associated with the key. /// Defines the currency type, in case the value is a currency type. /// States the account the message applies to. Useful for Financial Advisor sub-account messages. public UpdateAccountValueEventArgs(string key, string value, string currency, string accountName) { this.key = key; this.accountName = accountName; this.currency = currency; this.value = value; } /// /// Uninitialized Constructor for Serialization /// public UpdateAccountValueEventArgs() { } /// /// A string that indicates one type of account value. /// public string Key { get { return key; } set { key = value; } } /// /// The value associated with the key. /// public string Value { get { return value; } set { Value = value; } } /// /// Defines the currency type, in case the value is a currency type. /// public string Currency { get { return currency; } set { currency = value; } } /// /// States the account the message applies to. Useful for Financial Advisor sub-account messages. /// public string AccountName { get { return accountName; } set { accountName = value; } } } }