Partager via


TypeInstantiationAssembler<TObject, TConfiguration> 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.

Generic assembler that will just instantiate the type in a configuration element for polymorphic hierarchies.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder
Assembly:  Microsoft.Practices.EnterpriseLibrary.Common (in Microsoft.Practices.EnterpriseLibrary.Common.dll)

Syntax

'Declaration
PublicClassTypeInstantiationAssembler(Of TObject AsClass, TConfiguration As NameTypeConfigurationElement) _
    Implements IAssembler(Of TObject, TConfiguration)
publicclassTypeInstantiationAssembler<TObject, TConfiguration> : IAssembler<TObject, TConfiguration>
where TObject : classwhere TConfiguration : NameTypeConfigurationElement
generic<typename TObject, typename TConfiguration>
where TObject : ref classwhere TConfiguration : NameTypeConfigurationElement
publicref classTypeInstantiationAssembler : IAssembler<TObject, TConfiguration>
JScript does not support generic types or methods.

Type Parameters

  • TObject
    The interface or the base type to build.
  • TConfiguration
    The base configuration object type.

Inheritance Hierarchy

System.Object
  Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.TypeInstantiationAssembler<TObject, TConfiguration>

See Also

TypeInstantiationAssembler<TObject, TConfiguration> Members

Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder Namespace

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.