Ejemplo n.º 1
0
 internal ConnectionWrapper(string ConnectionString, ConnectionsFactory connectionPoolManager)
 {
     this.connectionPoolManager = connectionPoolManager;
     this.Connection            = new NpgsqlConnection(ConnectionString);
     this.Connection.Disposed  += Connection_Disposed1;
     CreationTime = DateTime.UtcNow;//Guid.NewGuid();
 }
Ejemplo n.º 2
0
 //private readonly ChannelWriter<NotiModel> notificationReciever;
 public NotificationReciever(ConnectionsFactory connectionsFactory, RabbitMQBasePublisher rabbitMQBase)
 {
     this.connectionsFactory = connectionsFactory;
     this.rabbitMQBase       = rabbitMQBase;
 }
Ejemplo n.º 3
0
 public SearchProvider(ConnectionsFactory connectionPoolManager, ISearchResultReciever searchResultReciever)
 {
     this.connectionPoolManager = connectionPoolManager;
     this.searchResultReciever  = searchResultReciever;
 }