Deli putem


TypeLoadingLocator 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 Enterprise Library information can be found at the Enterprise Library site.

A TypeRegistrationsProvider implementation that loads a type by name, and returns an instance of that type as the provider.

Namespace: Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ContainerModel
Assembly: Microsoft.Practices.EnterpriseLibrary.Common.Silverlight (in Microsoft.Practices.EnterpriseLibrary.Common.Silverlight.dll) Version: 5.0.505.0

Syntax

public class TypeLoadingLocator : TypeRegistrationsProvider
'Declaration
Public Class TypeLoadingLocator _
    Inherits TypeRegistrationsProvider
public ref class TypeLoadingLocator : public TypeRegistrationsProvider

Remarks

This is primarily used to support the Data Access Application Block's configuration provider, which has to pull stuff from several spots. Also, we load by name rather than using a type object directly to avoid a compile time dependency from Common on the Data assembly.

Inheritance Hierarchy

System.Object
  Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ContainerModel.TypeRegistrationsProvider
    Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ContainerModel.TypeLoadingLocator

See Also

TypeLoadingLocator Members

Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ContainerModel Namespace