Пример #1
0
 public ConnectionStrategyPair([NotNull] IDefaultConnectionStrategy defaultConnectionStrategy,
                               [NotNull] ITransactionConnectionStrategy transactionConnectionStrategy)
 {
     this.DefaultConnectionStrategy     = defaultConnectionStrategy;
     this.TransactionConnectionStrategy = transactionConnectionStrategy;
 }
Пример #2
0
 public void Deconstruct(out IDefaultConnectionStrategy defaultConnectionStrategy, out ITransactionConnectionStrategy transactionConnectionStrategy)
 {
     defaultConnectionStrategy     = this.DefaultConnectionStrategy;
     transactionConnectionStrategy = this.TransactionConnectionStrategy;
 }
Пример #3
0
 public ConnectionStrategyPair(IDefaultConnectionStrategy defaultConnectionStrategy,
                               ITransactionConnectionStrategy transactionConnectionStrategy)
 {
     this.DefaultConnectionStrategy     = defaultConnectionStrategy;
     this.TransactionConnectionStrategy = transactionConnectionStrategy;
 }