Exemplo n.º 1
0
        public PostAddress_v Clone()
        {
            PostAddress_v pa = new PostAddress_v();
            pa.StreetName_v = string_v.Copy(this.StreetName_v);
            pa.HouseNumber_v = string_v.Copy(this.HouseNumber_v);
            pa.ZIP_v = string_v.Copy(this.ZIP_v);
            pa.City_v = string_v.Copy(this.City_v);
            pa.Country_v = string_v.Copy(this.Country_v);
            pa.State_v = string_v.Copy(this.State_v);
            pa.Country_ISO_3166_a2_v = string_v.Copy(this.Country_ISO_3166_a2_v);
            pa.Country_ISO_3166_a3_v = string_v.Copy(this.Country_ISO_3166_a3_v);
            pa.Country_ISO_3166_num_v = short_v.Copy(this.Country_ISO_3166_num_v);

            return pa;
        }
Exemplo n.º 2
0
 internal static PostAddress_v Copy(PostAddress_v xpa)
 {
     if (xpa != null)
     {
         return xpa.Clone();
     }
     else
     {
         return null;
     }
 }