CompiledAssemblyApiOptions Pennington.ApiMetadata.Reflection
Options for CompiledAssemblyApiMetadataProvider.
Properties
AssemblyDirectoriesSystem.Collections.Generic.IList<string>- Default:
[]Directories to scan for*.dllfiles with matching*.xmlxmldoc files. Every matched pair in each directory contributes types to the provider. Use this when every.dllin the folder is intended for documentation — the typical NuGetlib/<tfm>/layout. AssemblyFilesSystem.Collections.Generic.IList<string>- Default:
[]Explicit.dllpaths to document. Use this when a folder contains more assemblies than you want documented (e.g. dependencies copied alongside the target forMetadataLoadContextresolution). The companion.xmlfile is loaded from the same directory. When bothAssemblyDirectoriesandAssemblyFilesare set, both contribute.
Pennington.ApiMetadata.Reflection.CompiledAssemblyApiOptions
namespace Pennington.ApiMetadata.Reflection;
/// Options for CompiledAssemblyApiMetadataProvider.
public class CompiledAssemblyApiOptions
{
/// Directories to scan for *.dll files with matching *.xml xmldoc files. Every matched pair in each directory contributes types to the provider. Use this when every .dll in the folder is intended for documentation — the typical NuGet lib/<tfm>/ layout.
public IList<string> AssemblyDirectories { get; } = [];
/// Explicit .dll paths to document. Use this when a folder contains more assemblies than you want documented (e.g. dependencies copied alongside the target for MetadataLoadContext resolution). The companion .xml file is loaded from the same directory. When both AssemblyDirectories and AssemblyFiles are set, both contribute.
public IList<string> AssemblyFiles { get; } = [];
}