public RecordLocalizedAuditableActions(IRecordAuditableActions toDecorate, IStringLocalizer localizer) { this.toDecorate = toDecorate ?? throw new ArgumentNullException(nameof(toDecorate)); this.localizer = localizer ?? throw new ArgumentNullException(nameof(localizer)); }
public AuditSink(IRecordAuditableActions auditRecorder) { this.auditRecorder = auditRecorder ?? throw new ArgumentNullException(); }
public override IRecordAuditableActions CreateAuditSource(string source) { IRecordAuditableActions recordAuditableActions = auditProviderFactory.CreateAuditSource(source); return(new RecordLocalizedAuditableActions(recordAuditableActions, localizer)); }