1- // Copyright (C) 2003- 2012 Xtensive LLC.
2- // All rights reserved .
3- // For conditions of distribution and use, see license .
1+ // Copyright (C) 2012-2021 Xtensive LLC.
2+ // This code is distributed under MIT license terms .
3+ // See the License.txt file in the project root for more information .
44// Created by: Denis Krjuchkov
55// Created: 2012.12.27
66
@@ -43,15 +43,15 @@ public sealed class SqlDriverConfiguration
4343 public SqlDriverConfiguration Clone ( )
4444 {
4545 // no deep cloning
46- var interceptors = ( ConnectionHandlers . Count == 0 )
46+ var handlers = ( ConnectionHandlers . Count == 0 )
4747 ? Array . Empty < IConnectionHandler > ( )
4848 : ConnectionHandlers . ToArray ( ConnectionHandlers . Count ) ;
4949
5050 return new SqlDriverConfiguration {
5151 ForcedServerVersion = ForcedServerVersion ,
5252 ConnectionInitializationSql = ConnectionInitializationSql ,
5353 EnsureConnectionIsAlive = EnsureConnectionIsAlive ,
54- ConnectionHandlers = interceptors
54+ ConnectionHandlers = handlers
5555 } ;
5656 }
5757
@@ -63,9 +63,9 @@ public SqlDriverConfiguration()
6363 ConnectionHandlers = Array . Empty < IConnectionHandler > ( ) ;
6464 }
6565
66- public SqlDriverConfiguration ( IReadOnlyCollection < IConnectionHandler > connectionInterceptors )
66+ public SqlDriverConfiguration ( IReadOnlyCollection < IConnectionHandler > connectionHandlers )
6767 {
68- ConnectionHandlers = connectionInterceptors ;
68+ ConnectionHandlers = connectionHandlers ;
6969 }
7070 }
7171}
0 commit comments