Class InjectionParameter<TParameter>
A generic version of InjectionParameter that makes it a little easier to specify the type of the parameter.
Inherited Members
Namespace: Unity.Injection
Assembly: Unity.Abstractions.dll
Syntax
public class InjectionParameter<TParameter> : InjectionParameter, IEquatable<Type>, IResolve
Type Parameters
Name | Description |
---|---|
TParameter | Type of parameter. |
Constructors
| Improve this Doc View SourceInjectionParameter(TParameter)
Create a new InjectionParameter<TParameter>.
Declaration
public InjectionParameter(TParameter value)
Parameters
Type | Name | Description |
---|---|---|
TParameter | value | Value for the parameter to be injected. |