ITypeRegistrarFrontend Interface

Represents a user friendly frontend for a ITypeRegistrar.
public interface ITypeRegistrarFrontend

Methods

abstract void Register<TService, TImplementation>()
Registers the type with the type registrar as a singleton.
abstract void RegisterInstance<TImplementation>(TImplementation)
Registers the specified instance with the type registrar as a singleton.
abstract void RegisterInstance<TService, TImplementation>(TImplementation)
Registers the specified instance with the type registrar as a singleton.

Extension Methods

T And<ITypeRegistrarFrontend>(Action<ITypeRegistrarFrontend>)
Performs the specified action on the given object and then returns the object. Useful for fluent testing patterns where additional assertions or operations are chained together in a readable manner.