-
Notifications
You must be signed in to change notification settings - Fork 10
Home
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)
- Service registration
- Factory registration
- Assembly registration
- Composition
- Fluent registration api
- Service resolution
- Resolution by attributes
- Conventional resolution
- Delegate resolution
- Conditional resolution
- Multi resolution
- Lifetimes
- Generics
- Generic wrappers
- Decorators
- Resolvers
- Scopes
- Container configuration
- Container diagnostics
- Exceptions