示例#1
0
 public Picture(byte integerLength, byte decimalLength, PictureKind kind) {
     _Scale = (byte)(integerLength + decimalLength);
     _Precision = decimalLength;
     _Kind = kind;
 }
示例#2
0
 public Picture(byte length, PictureKind kind) {
     _Scale = length;
     _Precision = 0;
     _Kind = kind;
 }
示例#3
0
 public Picture(byte integerLength, byte decimalLength) {
     _Scale = (byte)(integerLength + decimalLength);
     _Precision = decimalLength;
     _Kind = PictureKind.Numeric;
 }
示例#4
0
 public Picture(byte integerLength, byte decimalLength, PictureKind kind)
 {
     _Scale     = (byte)(integerLength + decimalLength);
     _Precision = decimalLength;
     _Kind      = kind;
 }
示例#5
0
 public Picture(byte length) {
     _Scale = length;
     _Precision = 0;
     _Kind = PictureKind.Alphanumeric;
 }
示例#6
0
 public Picture(byte integerLength, byte decimalLength)
 {
     _Scale     = (byte)(integerLength + decimalLength);
     _Precision = decimalLength;
     _Kind      = PictureKind.Numeric;
 }
示例#7
0
 public Picture(byte length, PictureKind kind)
 {
     _Scale     = length;
     _Precision = 0;
     _Kind      = kind;
 }
示例#8
0
 public Picture(byte length)
 {
     _Scale     = length;
     _Precision = 0;
     _Kind      = PictureKind.Alphanumeric;
 }
示例#9
0
 /// <summary>
 /// Constructs a <see cref="Picture"/> of a given <paramref name="length"/>. Used to instantiate integer formats and alphanumerics.
 /// </summary>
 /// <param name="length"></param>
 /// <param name="kind"></param>
 public Picture(ushort length, PictureKind kind)
 {
     _Scale     = length;
     _Precision = 0;
     Kind       = kind;
 }
示例#10
0
 /// <summary>
 /// Constructs a <see cref="Picture"/>.
 /// </summary>
 /// <param name="integerLength"></param>
 /// <param name="decimalLength"></param>
 /// <param name="kind"></param>
 public Picture(ushort integerLength, byte decimalLength, PictureKind kind)
 {
     _Scale     = (ushort)(integerLength + decimalLength);
     _Precision = decimalLength;
     Kind       = kind;
 }