public static ComponentRegistration <TService> Replace <TService>( this ComponentRegistration <TService> @this, Type serviceType, params Type[] implementationTypes) where TService : class { return(@this.Replace(new[] { serviceType }, implementationTypes)); }
public static ComponentRegistration <TService> Replace <TService, TService2, TService3, TService4, TService5>( this ComponentRegistration <TService> @this, params Type[] implementationTypes) where TService : class { return(@this.Replace(new[] { typeof(TService), typeof(TService2), typeof(TService3), typeof(TService4), typeof(TService5) }, implementationTypes)); }