Skip to main content
A newer version of this page is available. .

ViewModelSourceIntegrityContainer.RegisterViewModel<TServiceType, TConcreteType>() Method

Registers the specified TConcreteType with the specified TServiceType key.

Namespace: DevExpress.Xpf.DataAccess.DataSourceWizard

Assembly: DevExpress.Xpf.DataAccess.v18.2.dll

Declaration

public FactoryRegistration RegisterViewModel<TServiceType, TConcreteType>()
    where TConcreteType : class, TServiceType

Type Parameters

Name
TServiceType
TConcreteType

Returns

Type Description
FactoryRegistration

A FactoryRegistration object.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RegisterViewModel<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