ViewModelSourceIntegrityContainer.RegisterViewModel<TServiceType, TConcreteType>() Method
Registers the specified TConcreteType with the specified TServiceType key.
Namespace: DevExpress.Xpf.DataAccess.DataSourceWizard
Assembly: DevExpress.Xpf.DataAccess.v23.2.dll
NuGet Package: DevExpress.Wpf.Reporting
Declaration
public FactoryRegistration RegisterViewModel<TServiceType, TConcreteType>()
where TConcreteType : class, TServiceType
Type Parameters
Name |
---|
TServiceType |
TConcreteType |
Returns
Type | Description |
---|---|
FactoryRegistration | A FactoryRegistration object. |
Related GitHub Examples
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