示例#1
0
        public static UCAC4Index GetIndex(string catalogLocation)
        {
            if (s_UCAC4Index == null)
            {
                lock (s_SyncRoot)
                {
                    if (s_UCAC4Index == null)
                    {
                        s_UCAC4Index = new UCAC4Index(catalogLocation);
                    }
                }
            }

            return s_UCAC4Index;
        }
示例#2
0
 public UCAC4Catalogue(string catalogLocation)
 {
     m_CatalogLocation = catalogLocation;
     m_Index = UCAC4Index.GetIndex(catalogLocation.TrimEnd('\\'));
 }