protected void SubscribeToAll(string login, string password)
 {
     using (Connection.SubscribeToAll(false, (x, y) => { }, (x, y, z) => { },
                                      login == null && password == null ? null : new UserCredentials(login, password)))
     {
     }
 }
Esempio n. 2
0
 public void StartReading()
 {
     _connection.SubscribeToAll(true, Appeared, Dropped, EventStoreCredentials.Default);
 }
Esempio n. 3
0
 public void Start()
 {
     _eventStoreConnection.SubscribeToAll(false, EventAppeared, SubscriptionDropped, _credentials);
 }