Skip to content

Splat namespace

Part of the Splat.Core package.

TypeKindSummary
AppLocatorclassProvides a global access point for dependency resolution within the application, allowing services and types to be registered and retrieved at runtime.
DependencyResolverMixinsclassProvides extension methods for registering and managing dependency resolvers and service instances in a dependency injection system.
GlobalGenericFirstDependencyResolverclassGlobal, generic-first implementation of [IDependencyResolver](# optimized for AOT compilation.
IDependencyResolverinterfaceRepresents a dependency resolver that supports both read-only and mutable operations, as well as resource cleanup.
IMutableDependencyResolverinterfaceRepresents a mutable dependency resolver that allows for the registration, unregistration, and querying of service factories and instances at runtime. Enables dynamic management of service lifetimes and contracts within a dependency injection system.
IReadonlyDependencyResolverinterfaceDefines a read-only contract for resolving service instances and collections by type and optional contract identifier.
IServiceLocatorinterfaceDefines a contract for registering, retrieving, and managing service instances by type and optional contract name. Enables dependency resolution and service location within an application or component.
InstanceGenericFirstDependencyResolverclassGeneric-first implementation of [IDependencyResolver](# optimized for AOT compilation, with per-resolver instance isolation using resolver-local state.
ModernDependencyResolverclassThis class is a dependency resolver written for modern C# 5.0 times. It implements all registrations via a Factory method. With the power of Closures, you can actually implement most lifetime styles (i.e. construct per call, lazy construct, singleton) using this.
NullServiceTypeclassRepresents a service type that always returns null when resolved. Used as a placeholder or marker in dependency injection scenarios where a service is intentionally absent.
ResolverMixinsclassProvides extension methods for registering services, factories, and singleton instances with an IMutableDependencyResolver in a fluent manner.