Пример #1
0
        public static UCAC3Index GetIndex(string catalogLocation)
        {
            if (s_UCAC3Index == null)
            {
                lock (s_SyncRoot)
                {
                    if (s_UCAC3Index == null)
                    {
                        s_UCAC3Index = new UCAC3Index(catalogLocation);
                    }
                }
            }

            return(s_UCAC3Index);
        }
Пример #2
0
 public UCAC3Catalogue(string catalogLocation)
 {
     m_CatalogLocation = catalogLocation;
     m_Index = UCAC3Index.GetIndex(catalogLocation.TrimEnd('\\'));
 }
Пример #3
0
        public static UCAC3Index GetIndex(string catalogLocation)
        {
            if (s_UCAC3Index == null)
            {
                lock(s_SyncRoot)
                {
                    if (s_UCAC3Index == null)
                    {
                        s_UCAC3Index = new UCAC3Index(catalogLocation);
                    }
                }
            }

            return s_UCAC3Index;
        }
Пример #4
0
 public UCAC3Catalogue(string catalogLocation)
 {
     m_CatalogLocation = catalogLocation;
     m_Index           = UCAC3Index.GetIndex(catalogLocation.TrimEnd('\\'));
 }