src/System.Management.Automation/help/GeneralHelpProvider.cs
/// <summary>
/// Load cache for general help's
/// </summary>
Load cache for general help's
Load cache for general help ' s
internal sealed override void LoadCache()
        {
            Collection<String> files = MUIFileSearcher.SearchFiles("*.concept.xml", GetSearchPaths());
            if (files == null)
                return;
            foreach (string file in files)
            {
                if (!_helpFiles.ContainsKey(file))
                {
                    LoadHelpFile(file);
                    _helpFiles[file] = 0;
                }
            }
        }
internal sealed override void LoadCache ( ) { Collection < String > files = MUIFileSearcher . SearchFiles ( " " , GetSearchPaths ( ) ) ; if ( files == null ) return ; foreach ( string file in files ) { if ( ! _helpFiles . ContainsKey ( file ) ) { LoadHelpFile ( file ) ; _helpFiles [ file ] = 0 ; } } }
Load cache for general help's
Load cache for general help ' s
// Add this file into _helpFiles hashtable to prevent it to be loaded again.