public override object Clone() { WebSearchService cln = new WebSearchService(); cln.Count = this.Count; cln.Index = this.Index; cln.Culture = this.Culture; cln.Query = this.Query; cln.RestrictedSites = this.RestrictedSites; cln.LongAbstract = this.LongAbstract; cln.AllowAdultContent = this.AllowAdultContent; cln.AllowedFileTypes = (WebFileType[])this.AllowedFileTypes.Clone(); cln.AllowedFileGroups = (FileTypeGroup[])this.AllowedFileGroups.Clone(); cln.LimitedWeb = this.LimitedWeb; cln.HtmlTaggedText = this.HtmlTaggedText; cln.RestrictedTitle = this.RestrictedTitle; cln.RestrictedUrl = this.RestrictedUrl; return(cln); }
public override object Clone() { WebSearchService cln = new WebSearchService(); cln.Count = this.Count; cln.Index = this.Index; cln.Culture = this.Culture; cln.Query = this.Query; cln.RestrictedSites = this.RestrictedSites; cln.LongAbstract = this.LongAbstract; cln.AllowAdultContent = this.AllowAdultContent; cln.AllowedFileTypes = (WebFileType[])this.AllowedFileTypes.Clone(); cln.AllowedFileGroups = (FileTypeGroup[])this.AllowedFileGroups.Clone(); cln.LimitedWeb = this.LimitedWeb; cln.HtmlTaggedText = this.HtmlTaggedText; cln.RestrictedTitle = this.RestrictedTitle; cln.RestrictedUrl = this.RestrictedUrl; return cln; }