Skip to main content
All docs
V25.2
  • IModuleBuilder<TContext> Members

    Allows you to add and configure Modules in your application.

    Properties

    Name Description
    Context Provides access to the application builder.

    Methods

    Name Description
    Add<TModule>(Action<TModule>) Adds the specified Module to your application. Note that this Module must have the default constructor.
    Add<TModule>(Func<TModule>) Adds the specified Module to your application.This method allows you to use a custom module factory.
    Add<TModule>(Func<IServiceProvider, TModule>)
    See Also