We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DependencyOverride<T> does not implement a constructor that would take a name parameter.
DependencyOverride<T>
name
The DependencyOverride<T> class declared with only one constructor that takes value of the override.
public class DependencyOverride<T> : DependencyOverride { public DependencyOverride(object dependencyValue) : base(null, typeof(T), null, dependencyValue) { } }
In case override should target a named dependency, a constructor with name argument is required.
Add additional constructors to cover missing functionality:
public DependencyOverride<T>(Type target, string name, object value) : base(target, typeof(T), name, value) { } public DependencyOverride<T>(string name, object value) : base(null, typeof(T), name, value) { }
None.
The text was updated successfully, but these errors were encountered:
Added additional constructor to DependencyOverride
a085539
Fixed #158
fix: Adding missing constructors to DependencyOverride<T>
ad94b75
Fixed #195
Cleanup and added missing constructor
5b85f85
ENikS
No branches or pull requests
Description
DependencyOverride<T>
does not implement a constructor that would take aname
parameter.Problem
The
DependencyOverride<T>
class declared with only one constructor that takes value of the override.In case override should target a named dependency, a constructor with name argument is required.
Solution
Add additional constructors to cover missing functionality:
Impact
None.
The text was updated successfully, but these errors were encountered: