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


IConfigureTypeRegistration.ForType<TTypeRegistrationsProvider> Method

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.

Specifies the type of the ITypeRegistrationsProvider instance that should be used to retrieve type registrations.

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

Syntax

IConfigureTypeRegistrations ForType<TTypeRegistrationsProvider>()
where TTypeRegistrationsProvider : ITypeRegistrationsProvider
'Declaration
Function ForType(Of TTypeRegistrationsProvider As ITypeRegistrationsProvider) As IConfigureTypeRegistrations
generic<typename TTypeRegistrationsProvider>
where TTypeRegistrationsProvider : ITypeRegistrationsProvider
IConfigureTypeRegistrations^ ForType()

Type Parameters

  • TTypeRegistrationsProvider
    The type of the ITypeRegistrationsProvider instance that should be used to retrieve type registrations.

Return Value

Fluent interface that allows to add more type registration providers.

See Also

IConfigureTypeRegistration Interface

ForType Overload

Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Fluent Namespace