Esempio n. 1
0
 public static void SetInstance(SiteUrls anInstance)
 {
     if (anInstance != null)
         _instance = anInstance;
 }
Esempio n. 2
0
 public static SiteUrls GetSiteUrls()
 {
     if (_instance == null)
         lock (lockHelper)
             if (_instance == null)
                 _instance = new SiteUrls();
     return _instance;
 }