public RedisCacheEngine(IRedisSession session, IComponentAuditor auditor = null) { Auditor = auditor; _session = session; _session.TryOpenConnection(); }
public AppSession(IShardedRavenDocumentStoreFactory documentStoreFactory, IComponentAuditor auditor, IMessageSender messageSender) { _sessionCommitActions = new List <SessionCommitAction>(); _documentStoreFactory = documentStoreFactory; _auditor = auditor; _messageSender = messageSender; }
public OwnThreadQueueProcessor(Action <T> action, IComponentAuditor auditor) { Auditor = auditor; _action = action; _workerThread = new Thread(ProcessOutgoing) { IsBackground = true }; _workerThread.Start(); }
public LoggingHttpMessageHandler(IComponentAuditor auditor) { _auditor = auditor; base.InnerHandler = new HttpClientHandler(); }