Following code was found in the Sitecore.Configuration namespace of Sitecore.Kernel.dll
We all know "/App_Config/Include" folder where we can keep .config files. But, what is this "/App_Config/Sitecore/Components" folder.
"/App_Config/Sitecore/Components" folder does not come by default with fresh Sitecore instance. So, I created the folder structure and try including a test configuration file (test.config) and it worked fine.
Then, I search in the internet for any information about this folder and could not find anything in the following Sitecore documentation that describes about sitecore patching.
https://sdn.sitecore.net/upload/sitecore6/60/include_file_patching_facilities_sc6orlater-a4.pdf
But, then I did a search in the sdn.sitecore.net and found following document, which contains a description about the folder path and its usage.
https://sdn.sitecore.net/upload/sdn5/scrapbook/include%20file%20patching%20facilities.docx
Quote :
6.1 One more “Include” folderSitecore started to take into account one more folder during the initialization. The folder path in the following: /App_Config/Sitecore/Components. This folder is applied before applying the /App_config/Include folder. It does matter if we override settings, which are overridden by other include files.
Hope this helps!