Exemple #1
0
        public void ClearCachedData()
        {
            lock (shared_table_lock) {
                shared_by_number = null;
                shared_by_name   = null;
            }

            //
            // ClearCachedData method does not refresh the information in
            // the Thread.CurrentCulture property for existing threads
            //
            default_current_culture = null;

            RegionInfo.ClearCachedData();
            TimeZone.ClearCachedData();
            TimeZoneInfo.ClearCachedData();
        }