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); } }
/// <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); }