Skip to main content

IntegrityContainer.RegisterType<TServiceType, TConcreteType>() Method

Registers the specified TConcreteType with the specified TServiceType key.

Namespace: DevExpress.Utils.IoC

Assembly: DevExpress.Data.v23.2.dll

NuGet Package: DevExpress.Data

Declaration

public TypeRegistration RegisterType<TServiceType, TConcreteType>()
    where TConcreteType : TServiceType

Type Parameters

Name
TServiceType
TConcreteType

Returns

Type Description
TypeRegistration

A TypeRegistration object.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RegisterType<TServiceType, TConcreteType>() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also