Module
Neo.DependencyInjection
module Neo.DependencyInjection
Types
8 items
ActivationError
Reasons automatic constructor activation cannot prepare or invoke an implementation.
DefaultServiceCollection
The default collection: single lookups choose the last registration; plural lookups preserve order. Build validates constructor availability without creating services.
ServiceCollection
Collects registrations and builds independent provider snapshots.
ServiceDescriptor
An immutable service identity, activation source and lifetime.
ServiceError
A missing registration, invalid contract, activation failure or provider lifecycle error.
ServiceLifetime
Controls whether a registration creates values per resolution, per scope or per root provider.
ServiceProvider
Resolves services within one invocation. Dispose scopes explicitly to release owned services. Resolution is synchronous and follows the runtime's serialized guest execution model.
ServiceSource
Describes caller-owned storage, an explicit factory, or automatic constructor activation.
Type extensions
2 items
ServiceCollectionExtensions for ServiceCollection
Typed reference-service registrations with checked runtime assignability.
ServiceProviderExtensions for ServiceProvider
Typed lookups preserving missing-service and activation-error distinctions.