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

IServiceContainer.Clear() Method

Clears services stored in the current service container.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v20.2.dll

NuGet Packages: DevExpress.Mvvm, DevExpress.Uwp.Controls, DevExpress.WindowsDesktop.Mvvm

Declaration

void Clear()

Remarks

The Clear method removes all services stored in the current service container.

See Services in custom ViewModels to learn more.

See Also