Exemplo n.º 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);
        }
Exemplo n.º 2
0
 public UCAC4Catalogue(string catalogLocation)
 {
     m_CatalogLocation = catalogLocation;
     m_Index = UCAC4Index.GetIndex(catalogLocation.TrimEnd('\\'));
 }
Exemplo n.º 3
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;
        }
Exemplo n.º 4
0
 public UCAC4Catalogue(string catalogLocation)
 {
     m_CatalogLocation = catalogLocation;
     m_Index           = UCAC4Index.GetIndex(catalogLocation.TrimEnd('\\'));
 }