public virtual object Clone() { var ret = new GameMarker(); ret.Id = this.Id; ret.Name = this.Name.Clone() as string; ret.Source = Source; return(ret); }
public bool Equals(GameMarker other) { if (other == null) { return(false); } if (other.Id != Id) { return(false); } if (other.Name == null) { return(false); } if (other.Name.Equals(Name, StringComparison.InvariantCultureIgnoreCase) == false) { return(false); } return(true); }