示例#1
0
 /// <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;
 }
示例#2
0
 // 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;
 }