public ConventionManager(Type scanType, Type attachmentConvention, Type viewConvention, Type viewModelConvention) { this.attachmentConvention = attachmentConvention; this.viewConvention = viewConvention; this.viewModelConvention = viewModelConvention; ConventionBuilder.Logger = PiracRunner.GetLogger; var builder = new ConventionBuilder(); builder.Scan(scanType) .For(attachmentConvention) .For(viewConvention) .For(viewModelConvention); conventionManager = builder.Build(); conventionManager.Verify(); }