package
0.1.327
Repository: https://github.com/fluffy-bunny/grpcdotnetgo.git
Documentation: pkg.go.dev

# Functions

AddScopedISingleton adds a type that implements ISingleton.
AddScopedISingletonByFunc adds a type by a custom func.
AddScopedISingletonByFuncWithMetadata adds a type by a custom func.
AddScopedISingletonWithMetadata adds a type that implements ISingleton.
AddSingletonISingleton adds a type that implements ISingleton.
AddSingletonISingletonByFunc adds a type by a custom func.
AddSingletonISingletonByFuncWithMetadata adds a type by a custom func.
AddSingletonISingletonByObj adds a prebuilt obj.
AddSingletonISingletonByObjWithMetadata adds a prebuilt obj.
AddSingletonISingletonWithMetadata adds a type that implements ISingleton.
AddTransientISingleton adds a type that implements ISingleton.
AddTransientISingletonByFunc adds a type by a custom func.
AddTransientISingletonByFuncWithMetadata adds a type by a custom func.
AddTransientISingletonWithMetadata adds a type that implements ISingleton.
GetISingletonDefinition returns that last definition registered that this container can provide.
GetISingletonDefinitions returns all definitions that this container can provide.
GetISingletonFromContainer alternative to SafeGetISingletonFromContainer but panics of object is not present.
GetManyISingletonFromContainer alternative to SafeGetManyISingletonFromContainer but panics of object is not present.
RemoveAllISingleton removes all ISingleton from the DI.
SafeGetISingletonFromContainer trys to get the object by type, will not panic, returns nil and error.
SafeGetManyISingletonFromContainer trys to get the object by type, will not panic, returns nil and error.

# Variables

ReflectTypeISingleton used when your service claims to implement ISingleton.

# Interfaces

No description provided by the author