Поделиться через


LocatorNameTypeFactoryBase<T> 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.

Base class for instance factories that require a locator to provide singletons.

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

Syntax

'Declaration
PublicClassLocatorNameTypeFactoryBase(Of T)
publicclassLocatorNameTypeFactoryBase<T>
generic<typename T>
publicref classLocatorNameTypeFactoryBase
JScript does not support generic types or methods.

Type Parameters

  • T

Remarks

This class is used to create instances of types compatible with T described by a configuration source. The use of a IReadWriteLocator enables singletons for the types that support them.

Inheritance Hierarchy

System.Object
  Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.LocatorNameTypeFactoryBase<T>
    Microsoft.Practices.EnterpriseLibrary.Caching.CacheManagerFactory
    Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ExceptionPolicyFactory
    Microsoft.Practices.EnterpriseLibrary.Security.SecurityCacheProviderFactory

See Also

LocatorNameTypeFactoryBase<T> 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.