public override int GetHashCode() { unchecked { return(((CommandName != null ? CommandName.GetHashCode() : 0) * 397) ^ FirstLetter.GetHashCode()); } }
public override int GetHashCode() { int result = CommandName.GetHashCode(); result = (31 * result) + Eventcounts.GetHashCode(); result = (31 * result) + (_cacheKey != null ? _cacheKey.GetHashCode() : 0); return(result); }
/// <summary> /// Returns a hash code for this instance. /// </summary> /// <returns> /// A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. /// </returns> public override int GetHashCode() { int hash = 13; if (CommandName != null) { hash += CommandName.GetHashCode(); } if (Filepath != null) { hash += Filepath.GetHashCode(); } return(hash); }
public override int GetHashCode() { unchecked { var hashCode = (CommandName != null ? CommandName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (CommandType != null ? CommandType.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ArgumentType != null ? ArgumentType.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ImplementationType != null ? ImplementationType.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { return(CommandName.GetHashCode()); }
public override int GetHashCode() { return(CommandName != null ? CommandName.GetHashCode() : 0); }