public SexLoader([Import(LogNames.Session)] ILogWriter logger, IDomainSessionFactoryProvider sessionFactoryProvider , [ImportMany(DataImportContracts.BaseData)] IEnumerable <IDataReaderDictionary> dataproviders , Monahrq.Infrastructure.Configuration.IConfigurationService configurationService) : base(logger, sessionFactoryProvider, dataproviders, configurationService) { }
public Module(IConfigurationService configService, [Import(LogNames.Session)] ILogWriter logger, IDomainSessionFactoryProvider sessionFactoryProvider, Monahrq.Infrastructure.Configuration.IConfigurationService configurationService) { ConnectionSettings = configService.ConnectionSettings; Logger = Logger ?? NullLogger.Instance; }