/// <summary>
        /// Determines whether the specified object is equal to the current object.
        /// </summary>
        /// <param name="other">The object to compare with the current object.</param>
        /// <returns><b>true</b> if the specified object is equal to the current object, otherwise, <b>false</b>.</returns>
        private bool Equals(RiakErlangCommitHook other)
        {
            if (object.ReferenceEquals(null, other))
            {
                return(false);
            }

            return(string.Equals(module, other.Module) &&
                   string.Equals(function, other.Function));
        }
 static RiakErlangCommitHook()
 {
     RiakLegacySearchCommitHook = new RiakErlangCommitHook("riak_search_kv_hook", "precommit");
 }
        /// <summary>
        /// Determines whether the specified object is equal to the current object.
        /// </summary>
        /// <param name="other">The object to compare with the current object.</param>
        /// <returns><b>true</b> if the specified object is equal to the current object, otherwise, <b>false</b>.</returns>
        private bool Equals(RiakErlangCommitHook other)
        {
            if (object.ReferenceEquals(null, other))
            {
                return false;
            }

            return string.Equals(module, other.Module) &&
                string.Equals(function, other.Function);
        }
 /// <summary>
 /// Determines whether the one object is <b>not</b> equal to another object.
 /// </summary>
 /// <param name="left">The first <see cref="RiakObjectId"/> to compare.</param>
 /// <param name="right">The other <see cref="RiakObjectId"/> to compare.</param>
 /// <returns><b>true</b> if the specified object is <b>not</b> equal to the current object, otherwise, <b>false</b>.</returns>
 public static bool operator !=(RiakErlangCommitHook left, RiakErlangCommitHook right)
 {
     return(!RiakErlangCommitHook.Equals(left, right));
 }
 static RiakErlangCommitHook()
 {
     RiakLegacySearchCommitHook = new RiakErlangCommitHook("riak_search_kv_hook", "precommit");
 }