)>
Defined in Type: AppBuilder
Namespace: Splat.Builder
Assembly: Splat.Builder.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
public IAppBuilder WithCustomRegistration(Action<IMutableDependencyResolver> configureAction)
Summary: Adds a custom dependency registration action to the application builder.
Parameters
| Name | Type | Description |
|---|---|---|
configureAction | Action | An action that receives an [IMutableDependencyResolver](# and performs custom service registrations. Cannot be null. |
Returns: IAppBuilder -- The current IAppBuilder instance, enabling method chaining.
Remarks
Use this method to register additional services or override default registrations in the application's dependency resolver before the application is built.