This topic has not yet been rated - Rate this topic

AssemblerAttribute 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.

Specifies what assembler type to use to build a concrete type in a polymorphic provider hierarchy for the type described by the configuration object this attribute is bound to. This class cannot be inherited. The specified type must implement the IAssemblerTObject, TConfiguration interface.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder
Assembly:  Microsoft.Practices.EnterpriseLibrary.Common (in Microsoft.Practices.EnterpriseLibrary.Common.dll)
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public sealed class AssemblerAttribute : Attribute
The attribute is used on configuration objects to specify the build process create a provider based on the information in the configuration object. The attribute is used by the AssemblerBasedCustomFactoryTObject, TConfiguration implementation of the ICustomFactory interface, that provides a generic way to build polymorphic providers.
SystemObject
  SystemAttribute
    Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilderAssemblerAttribute
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.

Did you find this helpful?
(1500 characters remaining)