/// <summary> /// Initializes a new instance of the <see cref=""/> class. /// </summary> /// <param name="code">The code<see cref="string"/></param> /// <param name="amount">The amount<see cref="decimal"/></param> public BOC(string code, decimal amount) { Code = code; Name = Info.GetBocName(code); Value = amount; }
// CONSTRUCTORS /// <summary> /// Initializes a new instance of the <see cref=""/> class. /// </summary> /// <param name="code">The code<see cref="string"/></param> public BOC(string code) { Code = code; Name = Info.GetBocName(code); Value = 0m; }