Share via


InjectionParameter<TParameter> Class

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Unity Application Block information can be found at the Unity Application Block site.

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

Namespace:  Microsoft.Practices.Unity
Assembly:  Microsoft.Practices.Unity (in Microsoft.Practices.Unity.dll)

Syntax

'Declaration
Public Class InjectionParameter(Of TParameter) _
    Inherits InjectionParameter
public class InjectionParameter<TParameter> : InjectionParameter
generic<typename TParameter>
public ref class InjectionParameter : public InjectionParameter
JScript does not support generic types or methods.

Type Parameters

  • TParameter
    Type of parameter.

Inheritance Hierarchy

System.Object
  Microsoft.Practices.Unity.InjectionParameterValue
    Microsoft.Practices.Unity.TypedInjectionValue
      Microsoft.Practices.Unity.InjectionParameter
        Microsoft.Practices.Unity.InjectionParameter<TParameter>

See Also

InjectionParameter<TParameter> Members

Microsoft.Practices.Unity Namespace