ServiceContainer.RegisterService(Object, Boolean) Method
Registers the specified service.
Namespace: DevExpress.Mvvm
Assembly: DevExpress.Mvvm.v24.1.dll
NuGet Packages: DevExpress.Mvvm, DevExpress.Win.Navigation
Declaration
Parameters
Name | Type | Description |
---|---|---|
service | Object | The service to register. |
yieldToParent | Boolean | true, to allow access to the passed service from the parent service container; otherwise, false. |
Remarks
To learn more, see Services in custom ViewModels.
Implements
See Also