Skip to main content
All docs
V25.2
  • IUIServiceContainer.Register(Object, String) Method

    Registers the specified service in the container.

    Namespace: DevExpress.Maui.Mvvm

    Assembly: DevExpress.Maui.Mvvm.dll

    NuGet Package: DevExpress.Maui.Mvvm

    Declaration

    void Register(
        object service,
        string key = null
    )

    Parameters

    Name Type Description
    service System.Object

    The target service.

    Optional Parameters

    Name Type Default Description
    key String null

    The key associated with the registered service.

    See Also