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))) { } }
public void StartReading() { _connection.SubscribeToAll(true, Appeared, Dropped, EventStoreCredentials.Default); }
public void Start() { _eventStoreConnection.SubscribeToAll(false, EventAppeared, SubscriptionDropped, _credentials); }