Example #1
0
 public static SavePointSingleton GetInstance(SavePoint savePoint)
 {
     if (instance is null)
     {
         instance = new SavePointSingleton();
     }
     instance.SetIndicators(savePoint);
     return(instance);
 }
Example #2
0
 public static SavePointSingleton GetInstance()
 {
     return(instance ?? (instance = new SavePointSingleton()));
 }