Files
stgsharp/源代码/.Net Framework/StgSharp/StgSharp_Logic/Counter.cs
T

39 lines
496 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StgSharp_Logic
{
public class Counter<T>
{
private T _value;
public T Value
{
get { return _value; }
set { _value = value; }
}
public Counter()
{
}
public void Increase(T deltaValue)
{
//_value += deltaValue;
}
public void Decrease(T deltaValue)
{
//_value -= deltaValue;
}
}
}