[This is preliminary documentation and is subject to change.]
Replaces all include pragmas - sections with specified names ('_include' by default), with pointed to configuration file content
as obtained via the call to file system specified in every pragma.
If no FS specified then LocalFileSystem is used. If no file name specified when try to allocate config node provider.
Returns true if include pragmas were found.
Note: this method does not process new include pragmas that may have fetched during this call.
Caution: the file system used in the operation may rely on the App container that may need to be set-up for the call to succeed,
therefore calling this method before app has activated may fail, in such cases a temp app container may be set to get the config file
with processed includes, then the result may be passed to the primary app container ctor.
This call is not logically thread-safe, it must be called from the main thread in the app
Namespace: NFX.EnvironmentAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax
Parameters
- recurse
- Type:
System Boolean
True to process inner nodes
- includePragma (Optional)
- Type:
System String
Pragma section name, '_include' by default
Return Value
Type:
True if pragmas were found
Examples
See Also