示例#1
0
 public UCAC3Catalogue(string catalogLocation)
 {
     m_CatalogLocation = catalogLocation;
     m_Index = UCAC3Index.GetIndex(catalogLocation.TrimEnd('\\'));
 }
示例#2
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;
        }