20 lines
503 B
C#
20 lines
503 B
C#
namespace YLErp.BLL.MarginCalculation
|
|
{
|
|
public class DefaultMarginCalculation : MarginCalculationBase
|
|
{
|
|
// 定义一个静态变量来保存类的实例
|
|
public static readonly DefaultMarginCalculation Instance;
|
|
|
|
static DefaultMarginCalculation()
|
|
{
|
|
Instance = new DefaultMarginCalculation();
|
|
}
|
|
|
|
// 定义私有构造函数,使外界不能创建该类实例
|
|
protected DefaultMarginCalculation()
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|