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