From 24d1c9364fe4ca5d2f12f9b44f20467c1db28962 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期一, 25 三月 2024 11:45:17 +0800 Subject: [PATCH] 查询历史数据页面 --- WebApi/Areas/HelpPage/SampleGeneration/HelpPageSampleKey.cs | 17 ++++------------- 1 files changed, 4 insertions(+), 13 deletions(-) diff --git a/WebApi/Areas/HelpPage/SampleGeneration/HelpPageSampleKey.cs b/WebApi/Areas/HelpPage/SampleGeneration/HelpPageSampleKey.cs index 7c4eb76..9c1348a 100644 --- a/WebApi/Areas/HelpPage/SampleGeneration/HelpPageSampleKey.cs +++ b/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(); -- Gitblit v1.9.3