container icon indicating copy to clipboard operation
container copied to clipboard

Unity.Container implementation.

Results 110 container issues
Sort by recently updated
recently updated
newest added

We ran into a problem using Unity.Container 5.11.11 and Unity.Abstraction 5.11.7, which I could isolate to the follwing code: ``` namespace UnitTests { using FluentAssertions; using Unity; using Unity.Lifetime; using...

Requires Investigation :cop:
Bug :bug:

Our continuous integration builds on Azure DevOps just started having this problem. Didn't update any of this code. Happening with Unity.Container.dll version 5.11.11.0 s well as 5.11.8.0 on older projects....

We are using unity for DI in a large C# web application with lots of dependencies. Very rarely we see the Resolve process fail for one of our objects, only...

Repro: https://gist.github.com/dcomartin/a631b002ce761ac5d64d77ab38c705e8 This is also the case with using the RegisterType with the obsolete InjectionFactory. However, this is a change of behavior because InjectionFactory used to give you the container/child...

Bug :bug:

# RegisterInstance(...) The method is defined by `IUnityContainer` as the following: ```c# IUnityContainer RegisterInstance(Type type, string name, object instance, IInstanceLifetimeManager lifetimeManager); ``` ## Registered Type *Registration Type* is determined either...

Bug :bug:
5.12.0

# ResolvedParameter() `ResolvedParameter` *InjectionMember* used to indicate that injected member is resolved from the container. When `ResolvedParameter` instance is created, designer can specify a whole contract for the dependency, just...

Bug :bug:

# Generic Parameter injection members Unity implements several classes representing generic parameters: * `GenericParameter` * `OptionalGenericParameter` These are useful when registering generic types. For example, consider the following two types:...

Breaking change :grey_exclamation:
Bug :bug:

# DependencyOverride The `DependencyOverride` is used to provide override value for any dependency that matches the contract. ## Usage Override is passed to `Resolve` method alone with `Type` and `Name`...

Enhancement :hammer:
release
Breaking change :grey_exclamation:
Bug :bug:

### Description If a constructor argument has a default value registered via `InjectionConstructor` then a matching `DependencyOverride` in a `Resolve` call is ignored. ### To Reproduce ```C# class Program {...

Bug :bug:

# Strong Names Assemblies `Strong Names` are used to uniquely identify each assembly in terms of name and a version. Strong names are created by encoding assemblies with SNK signing...