Пример #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('\\'));
 }
Пример #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;
        }
Пример #4
0
 public UCAC4Catalogue(string catalogLocation)
 {
     m_CatalogLocation = catalogLocation;
     m_Index           = UCAC4Index.GetIndex(catalogLocation.TrimEnd('\\'));
 }