ResolverMixins class¶
Defined in
Namespace: Splat
Assembly: Splat.Core.dll
Full name: Splat.ResolverMixins
Modifiers: public static
Summary¶
Provides extension methods for registering services, factories, and singleton instances with an
IMutableDependencyResolver in a fluent manner.
Applies to
net10.0, net9.0, net8.0, net462, net481
Remarks¶
These mixin methods simplify the registration of services, factories, and singleton or constant values with dependency resolvers. They support both generic and non-generic registrations, as well as contract-based registrations for advanced scenarios. All methods return the resolver instance to enable fluent chaining of multiple registrations.
Methods¶
| Name | Summary |
|---|---|
| static RegisterAnd | |
| static RegisterConstantAnd | |
| static RegisterLazySingletonAnd |
Inherited members
Extension blocks¶
extension(IMutableDependencyResolver resolver)¶
RegisterAndRegisterAndRegisterAndRegisterAndRegisterAndRegisterAndRegisterAndRegisterAndRegisterConstantAndRegisterConstantAndRegisterConstantAndRegisterConstantAndRegisterConstantAndRegisterConstantAndRegisterLazySingletonAndRegisterLazySingletonAndRegisterLazySingletonAndRegisterLazySingletonAndRegisterLazySingletonAndRegisterLazySingletonAnd