SolutionsConfigLoader
Loads and validates solutions.json configuration files for multi-solution documentation generation.Syntax
Inheritance
Methods
CreateDefault
Parameters
- siteName string: The name of the documentation site.
Returns
SolutionsConfig A SolutionsConfig with sensible defaults.GetAllIgnorePatterns
Parameters
- config SolutionsConfig: The solutions configuration.
Returns
IEnumerable<string> A combined list of default and custom ignore patterns.LoadAsync
Parameters
- filePath string: The path to the solutions.json file.
Returns
Task<SolutionsConfig> A validated SolutionsConfig object.Exceptions
[ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception): Thrown when filePath is null or whitespace.[FileNotFoundException](https://learn.microsoft.com/dotnet/api/system.io.filenotfoundexception): Thrown when the solutions.json file does not exist.[InvalidOperationException](https://learn.microsoft.com/dotnet/api/system.invalidoperationexception): Thrown when the configuration is invalid.
ShouldIgnoreDirectory
Parameters
- directoryName string: The name of the directory to check.
- config SolutionsConfig: The solutions configuration containing custom ignore patterns.