Skip to content
Peter Csajtai edited this page Feb 11, 2016 · 33 revisions

Stashbox is a lightweight, portable dependency injection framework for .NET based solutions.

Features:

  • Fluent interface and attributes for easier configuration
  • Supports member injection and invocation of injection methods
  • Child container creation
  • Lifetime scopes
  • Conditional resolution
  • IDisposable objects created by Stashbox will be disposed by the container automatically
  • Supports the resolution of IEnumerable, arrays
  • Supports the resolution of Lazy<T>
  • Supports open generic types
  • Resolution by custom factory delegates
  • Supports remapping
  • Custom resolvers can be added
  • Can be extended by container extensions
  • Dependency overrides

Supported platforms:

  • .NET 4.5 and above
  • Windows 8/8.1/10
  • Windows Phone Silverlight 8/8.1
  • Windows Phone 8.1
  • Xamarin (Android/iOS/iOS Classic)