private bool disposedValue = false; // To detect redundant calls protected virtual void Dispose(bool disposing) { if (!disposedValue) { if (disposing) { map.Dispose(); fingerPrinting.Dispose(); informationOptions.Dispose(); } fingerPrinting = null; map = null; informationOptions = null; disposedValue = true; } }
public DomainsItem(string domain, string source) : base() { this.Domain = domain; this.Source = source; informationOptions = new PanelInformationOptionsSerializableClass(); }