Example #1
0
        public static Singleton Instance()
        {
            if (_instance == null)
            {
                _instance = new Singleton();
            }

            return _instance;
        }
Example #2
0
 public void Reset()
 {
     _instance = null;
 }