public ConsoleState(ConsoleState original) { Id = original.Id; Connected = original.Connected; TelemetryState = original.TelemetryState; TelemetryInterval = original.TelemetryInterval; ConsoleColor = original.ConsoleColor; }
public override bool Equals(object obj) { bool result = false; if (obj is ConsoleState) { ConsoleState other = (ConsoleState)obj; result = Id.Equals(other.Id) && Connected.Equals(other.Connected) && TelemetryState.Equals(other.TelemetryState) && TelemetryInterval.Equals(other.TelemetryInterval) && ConsoleColor.Equals(other.ConsoleColor); } return(result); }