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

DefaultQueryBuilderContainer.RegisterSingleton<T, TImpl>(TImpl) Method

Adds the specified service instance to the service container as a singleton.

Namespace: DevExpress.XtraReports.Web.QueryBuilder

Assembly: DevExpress.XtraReports.v19.1.Web.dll

NuGet Package: DevExpress.Web.Reporting.Common

Declaration

public static void RegisterSingleton<T, TImpl>(
    TImpl instance
)
    where TImpl : T

Parameters

Name Type Description
instance TImpl

An instance to register.

Type Parameters

Name Description
T

A base type.

TImpl

An implemented type.

See Also