WebApplicationBuilderPluginOptions
NexusLabs.Needlr.AspNet¶
WebApplicationBuilderPluginOptions Class¶
Options provided to IWebApplicationBuilderPlugin implementations during configuration. Contains the web application builder, discovered assemblies, logger, and plugin factory.
public sealed record WebApplicationBuilderPluginOptions : System.IEquatable<NexusLabs.Needlr.AspNet.WebApplicationBuilderPluginOptions>
Inheritance System.Object 🡒 WebApplicationBuilderPluginOptions
Implements System.IEquatable<WebApplicationBuilderPluginOptions>
Constructors¶
WebApplicationBuilderPluginOptions(WebApplicationBuilder, IReadOnlyList<Assembly>, ILogger, IPluginFactory) Constructor¶
Options provided to IWebApplicationBuilderPlugin implementations during configuration. Contains the web application builder, discovered assemblies, logger, and plugin factory.
public WebApplicationBuilderPluginOptions(Microsoft.AspNetCore.Builder.WebApplicationBuilder Builder, System.Collections.Generic.IReadOnlyList<System.Reflection.Assembly> Assemblies, Microsoft.Extensions.Logging.ILogger Logger, NexusLabs.Needlr.IPluginFactory PluginFactory);
Parameters¶
Builder Microsoft.AspNetCore.Builder.WebApplicationBuilder
The web application builder being configured.
Assemblies System.Collections.Generic.IReadOnlyList<System.Reflection.Assembly>
The list of assemblies discovered by Needlr.
Logger Microsoft.Extensions.Logging.ILogger
Logger for diagnostic output during plugin execution.
PluginFactory NexusLabs.Needlr.IPluginFactory
Factory for creating additional plugin instances.
Properties¶
WebApplicationBuilderPluginOptions.Assemblies Property¶
The list of assemblies discovered by Needlr.
public System.Collections.Generic.IReadOnlyList<System.Reflection.Assembly> Assemblies { get; init; }
Property Value¶
System.Collections.Generic.IReadOnlyList<System.Reflection.Assembly>
WebApplicationBuilderPluginOptions.Builder Property¶
The web application builder being configured.
Property Value¶
Microsoft.AspNetCore.Builder.WebApplicationBuilder
WebApplicationBuilderPluginOptions.Logger Property¶
Logger for diagnostic output during plugin execution.
Property Value¶
Microsoft.Extensions.Logging.ILogger
WebApplicationBuilderPluginOptions.PluginFactory Property¶
Factory for creating additional plugin instances.