Ejemplo n.º 1
0
        public override object Clone()
        {
            NewsSearchService cln = new NewsSearchService();

            cln.Count               = this.Count;
            cln.Index               = this.Index;
            cln.Culture             = this.Culture;
            cln.Query               = this.Query;
            cln.RestrictedSites     = this.RestrictedSites;
            cln.AlwaysLatestDateNow = this.AlwaysLatestDateNow;
            cln.LatestDate          = this.LatestDate;
            cln.TimeSpan            = this.TimeSpan;
            cln.RestrictedTitle     = this.RestrictedTitle;
            cln.RestrictedUrl       = this.RestrictedUrl;
            return(cln);
        }
Ejemplo n.º 2
0
 public override object Clone()
 {
     NewsSearchService cln = new NewsSearchService();
     cln.Count = this.Count;
     cln.Index = this.Index;
     cln.Culture = this.Culture;
     cln.Query = this.Query;
     cln.RestrictedSites = this.RestrictedSites;
     cln.AlwaysLatestDateNow = this.AlwaysLatestDateNow;
     cln.LatestDate = this.LatestDate;
     cln.TimeSpan = this.TimeSpan;
     cln.RestrictedTitle = this.RestrictedTitle;
     cln.RestrictedUrl = this.RestrictedUrl;
     return cln;
 }