Exemple #1
0
        public int CompareTo(object obj)
        {
            StackHashParameter thisParam = obj as StackHashParameter;

            if ((thisParam.Name == this.m_Name) &&
                (thisParam.m_Value == this.m_Value))
            {
                return(0);
            }
            else
            {
                return(-1);
            }
        }
Exemple #2
0
        /// <summary>
        /// Clone a copy of the parameter.
        /// </summary>
        /// <returns>Cloned copy of the parameter.</returns>
        public object Clone()
        {
            StackHashParameter parameter = new StackHashParameter(m_Name, m_Value);

            return(parameter);
        }