상속: 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());
        }
		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();
        }