public UriInfoCollection Clone() { UriInfoCollection clone; clone = new UriInfoCollection(); for (int i = 0; i < this.Count; i++) { clone.Add(this[i].Clone()); } return(clone); }
public DownDetectorSettings() { _addresses = new UriInfoCollection(); _addresses.CollectionChanged += this.AddressesCollectionChangedHandler; _statuses = new UriStatusInfoCollection(); _statuses.CollectionChanged += this.StatusesCollectionChangedHandler; _interval = TimeSpan.FromMinutes(1); _unstableInterval = TimeSpan.FromSeconds(90); _maximumDisplayItems = 25; _showNotifications = true; _showDisplayItems = true; _maximumRedirects = 3; _logDatesAsUtc = true; }