Skip to main content

DefaultQueryBuilderContainer.RegisterSingleton Method

Name Parameters Description
RegisterSingleton<T, TImpl>() static none Adds the specified service implementation to the service container as a singleton.
RegisterSingleton<T, TImpl>(TImpl) static instance Adds the specified service instance to the service container as a singleton.