Parsley v1.3.3
  • GitHub Repo
  • Issues
Powered by
  1. /
  2. Tags /
  3. multiple registrations

Tag: multiple registrations

See all tags.

Registration
Register Named Services

In Parsley, you can register services with specific names to support more granular control and flexible resolution of service instances. Named services are beneficial when you need to manage multiple implementations of the same interface or provide different configurations for different contexts.

Registration
Manage Multiple Service Implementations

Parsley supports registering multiple services under the same contract type, allowing you to inject a list of these services into your application. While you can always resolve multiple services of the same contract using the ResolveRequiredServices[T] method, injecting them as an array or slice requires a list registration via the RegisterList[T] method.

  • License Apache 2.0

© Copyright 2026 - Matthias Friedrich. All rights reserved.