Ejemplo n.º 1
0
 public Montana()
     : base("MT")
 {
     var dl = new Rchar[9];
     dl[0] = new UAlphaRchar(0);
     dl[1] = new NumericRchar(1);
     dl[2] = new AlphaNumericRchar(2);
     Array.Copy(Numerics(6, 3), 0, dl, 3, 6);
     dlFormats = new[] { new DriversLicense(dl, this) };
 }
Ejemplo n.º 2
0
        public NewHampshire()
            : base("NH")
        {
            var dl = new Rchar[10];
            dl[0] = new NumericRchar(0);
            dl[1] = new NumericRchar(1);
            dl[2] = new UAlphaRchar(2);
            dl[3] = new UAlphaRchar(3);
            dl[4] = new UAlphaRchar(4);
            Array.Copy(Numerics(4, 5), 0, dl, 5, 4);
            dl[9] = new LimitedRchar(9,'1','2','3','4','5','6','7','8','9');//no zero

            dlFormats = new[] {new DriversLicense(dl, this) };
        }
Ejemplo n.º 3
0
        public Washington()
            : base("WA")
        {
            var dl = new Rchar[12];
            dl[0] = new UAlphaRchar(0);
            dl[1] = new UAlphaRchar(1);
            dl[2] = new UAlphaRchar(2);
            dl[3] = new UAlphaRchar(3);
            dl[4] = new UAlphaRchar(4);
            dl[5] = new UAlphaRchar(5);
            dl[6] = new UAlphaRchar(6);
            dl[7] = new AlphaNumericRchar(7);
            dl[8] = new NumericRchar(8);
            dl[9] = new LimitedRchar(9,'*');
            dl[10] = new AlphaNumericRchar(10);
            dl[11] = new AlphaNumericRchar(11);

            dlFormats = new[] {new DriversLicense(dl, this) };
        }