Class ResolvedParameter
A class that stores a name and type, and generates a
resolver object that resolves the parameter via the
container.
Inheritance
ResolvedParameter
Assembly: Unity.Abstractions.dll
Syntax
public class ResolvedParameter : ParameterBase, IEquatable<Type>, IResolverFactory<Type>, IResolverFactory<ParameterInfo>
Constructors
|
Improve this Doc
View Source
ResolvedParameter()
Declaration
public ResolvedParameter()
|
Improve this Doc
View Source
ResolvedParameter(String)
Declaration
public ResolvedParameter(string name)
Parameters
Type |
Name |
Description |
String |
name |
Name to use when resolving parameter.
|
|
Improve this Doc
View Source
ResolvedParameter(Type)
Declaration
public ResolvedParameter(Type parameterType)
Parameters
Type |
Name |
Description |
Type |
parameterType |
Type of this parameter.
|
|
Improve this Doc
View Source
ResolvedParameter(Type, String)
Declaration
public ResolvedParameter(Type parameterType, string name)
Parameters
Type |
Name |
Description |
Type |
parameterType |
Type of this parameter.
|
String |
name |
Name to use when resolving parameter.
|
Methods
|
Improve this Doc
View Source
GetResolver<TContext>(ParameterInfo)
Declaration
public ResolveDelegate<TContext> GetResolver<TContext>(ParameterInfo info)
where TContext : IResolveContext
Parameters
Returns
Type Parameters
Name |
Description |
TContext |
|
|
Improve this Doc
View Source
GetResolver<TContext>(Type)
Declaration
public ResolveDelegate<TContext> GetResolver<TContext>(Type type)
where TContext : IResolveContext
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
Type Parameters
Name |
Description |
TContext |
|
Implements
Extension Methods