Ejemplo n.º 1
0
 /// <summary>
 /// The equals.
 /// </summary>
 /// <param name="other">
 /// The other.
 /// </param>
 /// <returns>
 /// The <see cref="bool"/>.
 /// </returns>
 protected bool Equals(Keyword other)
 {
     return string.Equals(this.Name, other.Name) && string.Equals(this.Response, other.Response)
            && this.Action.Equals(other.Action);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// The setup.
 /// </summary>
 public override void LocalSetup()
 {
     this.keywordRepository = new Mock<IKeywordRepository>();
     this.keyword = new Keyword { Action = false, Name = "ab", Response = "ab" };
 }
Ejemplo n.º 3
0
 /// <summary>
 /// The equals.
 /// </summary>
 /// <param name="other">
 /// The other.
 /// </param>
 /// <returns>
 /// The <see cref="bool"/>.
 /// </returns>
 protected bool Equals(Keyword other)
 {
     return(string.Equals(this.Name, other.Name) && string.Equals(this.Response, other.Response) &&
            this.Action.Equals(other.Action));
 }