A newer version of this page is available. Switch to the current version.

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
Public Function RegisterViewModel(Of TServiceType, TConcreteType As {Class, TServiceType}) As FactoryRegistration

Type Parameters

Name
TServiceType
TConcreteType

Returns

Type Description
FactoryRegistration

A FactoryRegistration object.

See Also