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, 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
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