Represents a user-friendly frontend for a ITypeRegistrar.
Methods
public void Register<TService, TImplementation>()
Registers the type with the type registrar as a singleton.
public void RegisterInstance<TImplementation>(TImplementation instance)
Registers the specified instance with the type registrar as a singleton.
Parameters:
instance (TImplementation)The instance to register.
public void RegisterInstance<TService, TImplementation>(TImplementation instance)
Registers the specified instance with the type registrar as a singleton.
Parameters:
instance (TImplementation)The instance to register.