Inheritance: NominetDomainExtensionBase
コード例 #1
0
        public override XmlDocument ToXml()
        {
            var updateExt = new NominetDomainUpdateExtension
            {
                AutoBill         = AutoBill,
                FirstBill        = FirstBill,
                NextBill         = NextBill,
                RecurBill        = RecurBill,
                Reseller         = Reseller,
                Notes            = Notes,
                AutoPeriod       = AutoPeriod,
                NextPeriod       = NextPeriod,
                RenewNotRequired = RenewNotRequired
            };

            Extensions.Clear();
            Extensions.Add(updateExt);

            return(base.ToXml());
        }
コード例 #2
0
		public override XmlDocument ToXml()
		{
			var updateExt = new NominetDomainUpdateExtension
			                	{
			                		AutoBill = AutoBill,
			                		FirstBill = FirstBill,
			                		NextBill = NextBill,
			                		RecurBill = RecurBill,
			                		Reseller = Reseller,
			                		Notes = Notes,
			                		AutoPeriod = AutoPeriod,
			                		NextPeriod = NextPeriod,
			                		RenewNotRequired = RenewNotRequired
			                	};

			Extensions.Clear();
			Extensions.Add(updateExt);

			return base.ToXml();
        }