Parsley v1.0.10
  • GitHub Repo
  • Issues
Powered by

# Category: Resolving

See all categories.

Registration • Resolving
Lifetime Scopes in Parsley

Discover how to manage service instance lifetimes in Parsley through various lifetime scopes. This guide explains the significance of lifetime settings, detailing how they influence the frequency of constructor or factory method calls and the management of service instances in your application.

Resolving
Passing specific instances to the resolver

Explore how to use Parsley's ResolveWithOptions method to dynamically pass specific instances to the resolver, enhancing your application's flexibility in managing dependencies. This guide demonstrates how to override registered dependencies or inject unregistered instances during resolution.

Resolving
Live services: Activating unregistered dependencies

Discover how to use the Activate method in Parsley to create instances of unregistered dependencies dynamically. This guide illustrates how to instantiate objects on-the-fly while leveraging registered services. Learn about practical use cases, including dynamic object creation, managing complex dependencies, and integrating with third-party libraries.

Registration • Resolving
Lazy Proxies

Explore the concept of lazy proxies in Parsley, a feature that allows for the deferred creation of service instances until they are needed. This guide explains how lazy proxies can optimize performance by managing resource-intensive dependencies effectively.

  • License Apache 2.0

© Copyright 2025 - Matthias Friedrich. All rights reserved.