Table of Contents

Class SplatBuilderExtensions

Namespace
Splat.Builder
Assembly
Splat.Builder.dll

Common extension helpers for registering Splat modules.

public static class SplatBuilderExtensions
Inheritance
SplatBuilderExtensions

Methods

Apply(IModule)

Runs the provided configuration action immediately and configures the specified module using the current mutable application locator.

public static void Apply(this IModule module)

Parameters

module IModule

The module to configure. Cannot be null.

CreateSplatBuilder(IMutableDependencyResolver)

Creates a new application builder that uses the specified dependency resolver.

public static IAppBuilder CreateSplatBuilder(this IMutableDependencyResolver resolver)

Parameters

resolver IMutableDependencyResolver

The dependency resolver to use for resolving services and dependencies. Cannot be null.

Returns

IAppBuilder

An IAppBuilder instance configured with the specified dependency resolver.

CreateSplatBuilder(IMutableDependencyResolver, Action<IMutableDependencyResolver>)

Creates a new application builder using the specified dependency resolver and applies custom configuration.

public static IAppBuilder CreateSplatBuilder(this IMutableDependencyResolver resolver, Action<IMutableDependencyResolver> configureAction)

Parameters

resolver IMutableDependencyResolver

The dependency resolver to use for service registration and resolution. Cannot be null.

configureAction Action<IMutableDependencyResolver>

An action that configures additional registrations on the dependency resolver. Can be null if no custom configuration is required.

Returns

IAppBuilder

An IAppBuilder instance configured with the specified resolver and custom registrations.