Show / Hide Table of Contents

Class ResolvedArrayParameter<TElement>

A generic version of ResolvedArrayParameter for convenience when creating them by hand.

Inheritance
Object
ParameterValue
ParameterBase
ResolvedArrayParameter
ResolvedArrayParameter<TElement>
Implements
IEquatable<Type>
IResolverFactory<Type>
IResolverFactory<ParameterInfo>
Inherited Members
ResolvedArrayParameter.GetResolver<TContext>(Type)
ResolvedArrayParameter.GetResolver<TContext>(ParameterInfo)
ParameterBase.ParameterType
ParameterBase.Equals(Type)
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Unity.Injection
Assembly: Unity.Abstractions.dll
Syntax
public class ResolvedArrayParameter<TElement> : ResolvedArrayParameter, IEquatable<Type>, IResolverFactory<Type>, IResolverFactory<ParameterInfo>
Type Parameters
Name Description
TElement

Type of the elements for the array of the parameter.

Constructors

| Improve this Doc View Source

ResolvedArrayParameter(Object[])

Construct a new ResolvedArrayParameter<TElement> that resolves to the given element generic type with the given element values.

Declaration
public ResolvedArrayParameter(params object[] elementValues)
Parameters
Type Name Description
Object[] elementValues

The values for the elements, that will be converted to ParameterValue objects.

Implements

System.IEquatable<T>
IResolverFactory<TMemberInfo>
IResolverFactory<TMemberInfo>

Extension Methods

InjectionMatching.Matches(Object, Type)
InjectionMatching.MatchesObject(Object, Type)
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2020 .NET Foundation and Contributors. All Rights Reserved