public DarknetSettings(DarknetSettings refSettings) { foreach (var property in this) { property.SetValue(this, property.GetValue(refSettings)); } }
public bool Equals(DarknetSettings other) { foreach (var property in this) { if (!Equals(property.GetValue(this), property.GetValue(other))) { return(false); } } return(true); }