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

        }