public AuditingHelper( IAuditSerializer auditSerializer, IOptions <RocketAuditingOptions> options, ICurrentUser currentUser, ICurrentTenant currentTenant, ICurrentClient currentClient, IClock clock, IAuditingStore auditingStore, ILogger <AuditingHelper> logger, IServiceProvider serviceProvider, ICorrelationIdProvider correlationIdProvider) { Options = options.Value; AuditSerializer = auditSerializer; CurrentUser = currentUser; CurrentTenant = currentTenant; CurrentClient = currentClient; Clock = clock; AuditingStore = auditingStore; Logger = logger; ServiceProvider = serviceProvider; CorrelationIdProvider = correlationIdProvider; }
public JsonNetAuditSerializer(IOptions <RocketAuditingOptions> options) { Options = options.Value; }