Class GenericResolvedArrayParameter
A ParameterValue that lets you specify that
an array containing the registered instances of a generic type parameter
should be resolved.
Inheritance
GenericResolvedArrayParameter
Assembly: Unity.Abstractions.dll
Syntax
public class GenericResolvedArrayParameter : GenericBase, IEquatable<Type>, IResolverFactory<Type>, IResolverFactory<ParameterInfo>
Constructors
|
Improve this Doc
View Source
GenericResolvedArrayParameter(String, Object[])
Declaration
public GenericResolvedArrayParameter(string genericParameterName, params object[] elementValues)
Parameters
Type |
Name |
Description |
String |
genericParameterName |
The generic parameter name to resolve.
|
Object[] |
elementValues |
The values for the elements, that will
be converted to ParameterValue objects.
|
Properties
|
Improve this Doc
View Source
ParameterTypeName
Name for the type represented by this ParameterValue.
This may be an actual type name or a generic argument name.
Declaration
public override string ParameterTypeName { get; }
Property Value
Overrides
Methods
|
Improve this Doc
View Source
Equals(Type)
Declaration
public override bool Equals(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
Overrides
|
Improve this Doc
View Source
GetResolver<TContext>(Type, String)
Declaration
protected override ResolveDelegate<TContext> GetResolver<TContext>(Type type, string name)
where TContext : IResolveContext
Parameters
Returns
Type Parameters
Name |
Description |
TContext |
|
Overrides
Implements
Extension Methods