)>
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, net471
IAppBuilder WithCustomRegistration(Action<IMutableDependencyResolver> configureAction)
Summary: Configures the dependency resolver with custom registrations using the specified action.
Parameters
| Name | Type | Description |
|---|---|---|
configureAction | Action | An action that receives the mutable dependency resolver to which custom registrations can be added. Cannot be null. |
Returns: IAppBuilder -- The current IAppBuilder instance, enabling method chaining.
Remarks
Use this method to add or override service registrations in the application's dependency resolver before the application is built. This is typically used to register custom services or replace default implementations.