Inheritance: NominetContactExtensionBase
Esempio n. 1
0
        public override XmlDocument ToXml()
        {
            NominetContactCreateExtension createExt = new NominetContactCreateExtension
            {
                TradeName     = TradeName,
                CompanyNumber = CompanyNumber,
                OptOut        = OptOut,
                Type          = Type
            };

            Extensions.Clear();
            Extensions.Add(createExt);

            return(base.ToXml());
        }
		public override XmlDocument ToXml()
		{
			var createExt = new NominetContactCreateExtension
			                	{
			                		TradeName = TradeName,
									CompanyNumber = CompanyNumber,
									OptOut = OptOut,
									Type = Type
			                	};

			Extensions.Clear();
			Extensions.Add(createExt);

			return base.ToXml();
		}