/// <summary> /// 値を比較する。 /// </summary> /// <param name="other">比較対象</param> /// <returns>一致する場合、true</returns> public bool Equals(EventCommandSentenceInfo other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(ColorSet.Equals(other.ColorSet) && Sentence.Equals(other.Sentence)); }