Exemplo n.º 1
0
        /// <summary>
        /// Allows the class to be copied
        /// </summary>
        /// <remarks>
        /// Performs a 'deep copy' of all the data in the class (and its children)
        /// </remarks>
        public override object Clone()
        {
            DESADV_XSDLib.Payer_Group newObject = new DESADV_XSDLib.Payer_Group(_elementName);
            newObject.m_ILN                    = m_ILN;
            newObject.m_IsValidILN             = m_IsValidILN;
            newObject.m_TaxID                  = m_TaxID;
            newObject.m_IsValidTaxID           = m_IsValidTaxID;
            newObject.m_Name                   = m_Name;
            newObject.m_IsValidName            = m_IsValidName;
            newObject.m_StreetAndNumber        = m_StreetAndNumber;
            newObject.m_IsValidStreetAndNumber = m_IsValidStreetAndNumber;
            newObject.m_District               = m_District;
            newObject.m_IsValidDistrict        = m_IsValidDistrict;
            newObject.m_CityName               = m_CityName;
            newObject.m_IsValidCityName        = m_IsValidCityName;
            newObject.m_ProvinceCode           = m_ProvinceCode;
            newObject.m_IsValidProvinceCode    = m_IsValidProvinceCode;
            newObject.m_Province               = m_Province;
            newObject.m_IsValidProvince        = m_IsValidProvince;
            newObject.m_PostalCode             = m_PostalCode;
            newObject.m_IsValidPostalCode      = m_IsValidPostalCode;
            newObject.m_PhoneNumber            = m_PhoneNumber;
            newObject.m_IsValidPhoneNumber     = m_IsValidPhoneNumber;

            newObject._validElement = _validElement;
// ##HAND_CODED_BLOCK_START ID="Additional clone"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS

// Add Additional clone code here...

// ##HAND_CODED_BLOCK_END ID="Additional clone"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS

            return(newObject);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Allows the class to be copied
        /// </summary>
        /// <remarks>
        /// Performs a 'deep copy' of all the data in the class (and its children)
        /// </remarks>
        public override object Clone()
        {
            DESADV_XSDLib.Payer_Group newObject = new DESADV_XSDLib.Payer_Group(_elementName);
            newObject.m_ILN = m_ILN;
            newObject.m_IsValidILN = m_IsValidILN;
            newObject.m_TaxID = m_TaxID;
            newObject.m_IsValidTaxID = m_IsValidTaxID;
            newObject.m_Name = m_Name;
            newObject.m_IsValidName = m_IsValidName;
            newObject.m_StreetAndNumber = m_StreetAndNumber;
            newObject.m_IsValidStreetAndNumber = m_IsValidStreetAndNumber;
            newObject.m_District = m_District;
            newObject.m_IsValidDistrict = m_IsValidDistrict;
            newObject.m_CityName = m_CityName;
            newObject.m_IsValidCityName = m_IsValidCityName;
            newObject.m_ProvinceCode = m_ProvinceCode;
            newObject.m_IsValidProvinceCode = m_IsValidProvinceCode;
            newObject.m_Province = m_Province;
            newObject.m_IsValidProvince = m_IsValidProvince;
            newObject.m_PostalCode = m_PostalCode;
            newObject.m_IsValidPostalCode = m_IsValidPostalCode;
            newObject.m_PhoneNumber = m_PhoneNumber;
            newObject.m_IsValidPhoneNumber = m_IsValidPhoneNumber;

            newObject._validElement = _validElement;
            // ##HAND_CODED_BLOCK_START ID="Additional clone"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS

            // Add Additional clone code here...

            // ##HAND_CODED_BLOCK_END ID="Additional clone"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS

            return newObject;
        }