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