Example #1
0
 public static void SetInstance(SiteUrls anInstance)
 {
     if (anInstance != null)
         instance = anInstance;
 }
Example #2
0
 public static SiteUrls GetSiteUrls()
 {
     if (instance == null)
     {
         lock (lockHelper)
         {
             if (instance == null)
             {
                 instance = new SiteUrls();
             }
         }
     }
     return instance;
 }