Example #1
0
        public void TestReflectionMethodsAttribute()
        {
            var comLibrary = new ManageImage();
            var nit        = new Nit()
            {
                NitId = "71527386", NombreNit = "Cristian Gonzalez"
            };
            var objectGeneric = comLibrary.GetNit(nit);

            Assert.AreEqual(objectGeneric.NitId, "71527386");
        }
Example #2
0
 public Nit(Nit nit)
 {
     this.numeroNit        = nit.numeroNit;
     this.digito           = nit.digito;
     this.nombre1          = nit.nombre1;
     this.nombre2          = nit.nombre2;
     this.apellido1        = nit.apellido1;
     this.apellido2        = nit.apellido2;
     this.tipoNit          = nit.tipoNit;
     this.ciudadExpedicion = nit.ciudadExpedicion;
     this.nacionalidad     = nit.nacionalidad;
     this.direccion        = nit.direccion;
     this.ciudad           = nit.ciudad;
     this.telefono         = nit.telefono;
     this.celular          = nit.celular;
     this.email            = nit.email;
     this.web        = nit.web;
     this.vigencia   = nit.vigencia;
     this.sociedad   = nit.sociedad;
     this.regimenIva = nit.regimenIva;
     this.actividad  = nit.actividad;
 }
 public Ni(Nit nit)
 {
     mNaiType = (long)nit;
 }
Example #4
0
 /// <summary>
 /// The get nit.
 /// </summary>
 /// <param name="nit">
 /// The nit.
 /// </param>
 /// <returns>
 /// The <see cref="Nit"/>.
 /// </returns>
 public Nit GetNit(Nit nit)
 {
     nit.NombreNit += " - Reflected";
     this.ChangeNitValues(nit);
     return(nit);
 }