Пример #1
0
 public SystemController(IAppSession session,
                         IEncryptor encryptor,
                         IShardedRavenDocumentStoreFactory storeFactory)
 {
     _session      = session;
     _encryptor    = encryptor;
     _storeFactory = storeFactory;
 }
Пример #2
0
 public HomeController(ErrorditeConfiguration configuration,
                       IShardedRavenDocumentStoreFactory storeFactory,
                       IAppSession session)
 {
     _configuration = configuration;
     _storeFactory  = storeFactory;
     _session       = session;
 }
Пример #3
0
 public AppSession(IShardedRavenDocumentStoreFactory documentStoreFactory,
                   IComponentAuditor auditor,
                   IMessageSender messageSender)
 {
     _sessionCommitActions = new List <SessionCommitAction>();
     _documentStoreFactory = documentStoreFactory;
     _auditor       = auditor;
     _messageSender = messageSender;
 }