| | | 1 | | using Microsoft.Extensions.Hosting; |
| | | 2 | | using Microsoft.Extensions.Logging; |
| | | 3 | | |
| | | 4 | | using System.Reflection; |
| | | 5 | | |
| | | 6 | | namespace NexusLabs.Needlr.Hosting; |
| | | 7 | | |
| | | 8 | | /// <summary> |
| | | 9 | | /// Options passed to <see cref="IHostApplicationBuilderPlugin.Configure"/>. |
| | | 10 | | /// </summary> |
| | | 11 | | /// <param name="Builder">The host application builder being configured.</param> |
| | | 12 | | /// <param name="Assemblies"> |
| | | 13 | | /// The candidate assemblies selected by Needlr. Source-generated discovery includes every |
| | | 14 | | /// generated TypeRegistry participant, including empty registries, when assembly metadata is available. |
| | | 15 | | /// </param> |
| | | 16 | | /// <param name="Logger">Logger for host plugin execution.</param> |
| | | 17 | | /// <param name="PluginFactory">Factory for creating additional plugin instances.</param> |
| | 17 | 18 | | public sealed record HostApplicationBuilderPluginOptions( |
| | 0 | 19 | | HostApplicationBuilder Builder, |
| | 0 | 20 | | IReadOnlyList<Assembly> Assemblies, |
| | 0 | 21 | | ILogger Logger, |
| | 17 | 22 | | IPluginFactory PluginFactory); |