Show / Hide Table of Contents

Class InjectionParameter<TParameter>

A generic version of InjectionParameter that makes it a little easier to specify the type of the parameter.

Inheritance
Object
ParameterValue
ParameterBase
InjectionParameter
InjectionParameter<TParameter>
Implements
IEquatable<Type>
IResolve
Inherited Members
InjectionParameter.Resolve<TContext>(TContext)
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 InjectionParameter<TParameter> : InjectionParameter, IEquatable<Type>, IResolve
Type Parameters
Name Description
TParameter

Type of parameter.

Constructors

| Improve this Doc View Source

InjectionParameter(TParameter)

Create a new InjectionParameter<TParameter>.

Declaration
public InjectionParameter(TParameter value)
Parameters
Type Name Description
TParameter value

Value for the parameter to be injected.

Implements

System.IEquatable<T>
IResolve

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