Files
zszq-trs/YLErpDAL/Helpers/StaticHelper.cs
T
2024-05-09 14:06:26 +08:00

29 lines
636 B
C#

using DocumentFormat.OpenXml.Spreadsheet;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace YLErp.Helpers
{
/// <summary>
/// 静态帮助类
/// </summary>
/// <typeparam name="T"></typeparam>
public static class StaticHelper<T>
{
public static List<T> Values=new List<T>();
public static void SetValues(T v)
{
Values.Add(v);
}
public static List<T> GetValues() { return Values;}
public static void DeleteValues()
{
Values.Clear();
}
}
}