duheng
2024-03-25 24d1c9364fe4ca5d2f12f9b44f20467c1db28962
WebApi/Areas/HelpPage/SampleGeneration/HelpPageSampleKey.cs
@@ -3,7 +3,7 @@
using System.ComponentModel;
using System.Net.Http.Headers;
namespace YwUser.Web.SysApi.Areas.HelpPage
namespace IStation.WebApi.Areas.HelpPage
{
    /// <summary>
    /// This is used to identify the place where the sample should be applied.
@@ -122,20 +122,14 @@
        /// Gets the parameter names.
        /// </summary>
        public HashSet<string> ParameterNames { get; private set; }
        /// <summary>
        ///
        /// </summary>
        public Type ParameterType { get; private set; }
        /// <summary>
        /// Gets the <see cref="SampleDirection"/>.
        /// </summary>
        public SampleDirection? SampleDirection { get; private set; }
        /// <summary>
        ///
        /// </summary>
        /// <param name="obj"></param>
        /// <returns></returns>
        public override bool Equals(object obj)
        {
            HelpPageSampleKey otherKey = obj as HelpPageSampleKey;
@@ -151,10 +145,7 @@
                SampleDirection == otherKey.SampleDirection &&
                ParameterNames.SetEquals(otherKey.ParameterNames);
        }
        /// <summary>
        ///
        /// </summary>
        /// <returns></returns>
        public override int GetHashCode()
        {
            int hashCode = ControllerName.ToUpperInvariant().GetHashCode() ^ ActionName.ToUpperInvariant().GetHashCode();