# GlobalProviderRegistry Class

Module
import { GlobalProviderRegistry } from "@tsed/di"
Source/packages/di/src/registries/GlobalProviders.ts

# Overview

class GlobalProviderRegistry extends Registry<Provider<any>, IProvider<any>> {
    constructor();
    createRegistry(type: string, model: Type<Provider<any>>, options?: Partial<RegistrySettings>): TypedProvidersRegistry;
    getRegistrySettings(target: string | TokenProvider): RegistrySettings;
    createRegisterFn(type: string): (provider: any, instance?: any) => void;
    getRegistry(target: string | TokenProvider): TypedProvidersRegistry;
}

# Constructor

constructor()

Internal Map

# Members

createRegistry(type: string, model: Type<Provider<any>>, options?: Partial<RegistrySettings>): TypedProvidersRegistry

getRegistrySettings(target: string | TokenProvider): RegistrySettings

createRegisterFn(type: string): (provider: any, instance?: any) => void

getRegistry(target: string | TokenProvider): TypedProvidersRegistry