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