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