Ejemplo n.º 1
0
 public static IEventStoreConnection Create(IPEndPoint endPoint, TcpType tcpType = TcpType.Normal, UserCredentials userCredentials = null)
 {
     return EventStoreConnection.Create(Settings(tcpType, userCredentials),
                                        endPoint.ToESTcpUri(),
                                        string.Format("ESC-{0}", Interlocked.Increment(ref _nextConnId)));
 }