/// <summary>
        /// Parse Partial Error Code.
        /// </summary>
        /// <param name="name">Name of the Partial Error Code.</param>
        /// <returns><see cref="PartialErrorCode"/> for the name.</returns>
        public static PartialErrorCode Parse(string name)
        {
            PartialErrorCode partialErrorCode = null;

            if (name == null || !PARTIAL_ERROR_CODES.TryGetValue(name, out partialErrorCode))
            {
                partialErrorCode = new PartialErrorCode(name);
            }

            return(partialErrorCode);
        }
        /// <summary>
        /// Determines whether this instance and another specified <see cref="PartialErrorCode"/> object have the same value.
        /// </summary>
        /// <param name="value">The Partial Error Code to compare to this instance.</param>
        /// <returns>true if the value of the parameter is the same as the value of this instance; otherwise, false. If value is null, the method returns false.</returns>
        public bool Equals(PartialErrorCode value)
        {
            if (Object.ReferenceEquals(value, null))
            {
                return(false);
            }

            if (Object.ReferenceEquals(this, value))
            {
                return(true);
            }

            return(this.Name == value.Name);
        }