Ejemplo n.º 1
0
        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;
        }
Ejemplo n.º 2
0
 public JsonNetAuditSerializer(IOptions <RocketAuditingOptions> options)
 {
     Options = options.Value;
 }