Splat namespace¶
Part of the Splat.Core package.
| Type | Kind | Summary |
|---|---|---|
| AppLocator | class | Provides a global access point for dependency resolution within the application, allowing services and types to be registered and retrieved at runtime. |
| DependencyResolverMixins | class | Provides extension methods for registering and managing dependency resolvers and service instances in a dependency injection system. |
| GlobalGenericFirstDependencyResolver | class | Global, generic-first implementation of [IDependencyResolver](# optimized for AOT compilation. |
| IDependencyResolver | interface | Represents a dependency resolver that supports both read-only and mutable operations, as well as resource cleanup. |
| IMutableDependencyResolver | interface | Represents 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. |
| IReadonlyDependencyResolver | interface | Defines a read-only contract for resolving service instances and collections by type and optional contract identifier. |
| IServiceLocator | interface | Defines 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. |
| InstanceGenericFirstDependencyResolver | class | Generic-first implementation of [IDependencyResolver](# optimized for AOT compilation, with per-resolver instance isolation using resolver-local state. |
| ModernDependencyResolver | class | This 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. |
| NullServiceType | class | Represents 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. |
| ResolverMixins | class | Provides extension methods for registering services, factories, and singleton instances with an IMutableDependencyResolver in a fluent manner. |