コード例 #1
0
        public AuditingHelper(
            IAuditSerializer auditSerializer,
            IOptions <PlusAuditingOptions> 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;
        }
コード例 #2
0
 public JsonNetAuditSerializer(IOptions <PlusAuditingOptions> options)
 {
     Options = options.Value;
 }