29 lines
636 B
C#
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();
|
|
}
|
|
}
|
|
}
|