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