public ConfiguredGame Clone() { ConfiguredGame p = new ConfiguredGame(); p.Color = this.Color; p.ConfiguredGameId = -1; p.Description = this.Description; p.Icon = this.Icon; p.Name = this.Name; p.Parameters = this.Parameters; p.Repetitions = this.Repetitions; p.Tags = new string[] { }; return(p); }
public override bool Equals(System.Object obj) { ConfiguredGame p = obj as ConfiguredGame; if ((object)p == null) { return(false); } return(p.Color == this.Color && p.ConfiguredGameId == this.ConfiguredGameId && //p.GameId == this.GameId && p.Description == this.Description && p.Icon == this.Icon && p.Name == this.Name && p.Parameters == this.Parameters && p.Repetitions == this.Repetitions && p.Tags.SequenceEqual(this.Tags)); }