Controller.cs
524 Bytes
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OS.Spin.Running
{
public class Controller
{
private static Controller _cer = null;
private static object _objLock = new object();
public static Controller GetInstance()
{
lock (_objLock)
{
return _cer ?? (_cer = new Controller());
}
}
private Controller()
{
}
}
}