Beispiel #1
0
 public AuditingStore(
     IAuditLogRepository auditLogRepository,
     IUnitOfWorkManager unitOfWorkManager,
     IOptions <AuditingOptions> options,
     IAuditLogInfoToAuditLogConverter converter)
 {
     AuditLogRepository = auditLogRepository;
     UnitOfWorkManager  = unitOfWorkManager;
     Converter          = converter;
     Options            = options.Value;
     Logger             = NullLogger <AuditingStore> .Instance;
 }
Beispiel #2
0
 protected AuditLogRepository_Tests()
 {
     AuditLogRepository = GetRequiredService <IAuditLogRepository>();
     AuditLogInfoToAuditLogConverter = GetRequiredService <IAuditLogInfoToAuditLogConverter>();
 }