Skip to content

IAppBuilder.UsingModule(T) method

Defined in

Type: IAppBuilder Namespace: Splat.Builder Assembly: Splat.Core.dll

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net462, net481

IAppBuilder UsingModule<T>(T registrationModule) where T : IModule

Summary: Registers the specified module with the application builder, enabling its services and configuration within the application pipeline.

Type parameters

NameDescription
TThe type of the module to register. Must implement the IModule interface.

Parameters

NameTypeDescription
registrationModuleTThe module instance to register with the application builder. Cannot be null.

Returns: IAppBuilder -- The current IAppBuilder instance, enabling method chaining.