RegisterRepository
method that registers a component with the container as a Singleton, wrapped by a MeasurementInterceptor
.RegisterReposity
, and yet other non-repos are registered using this method.container.RegisterRepository<ICityInfoRepository, CityInfoRepository>()
[RegisterSingleton(InterceptedBy = typeof(MeasurementInterceptor))]
public class CityInfoRepository : ICityInfoRepository
{ ... }