示例#1
0
文件: Connect.cs 项目: xgame92/magic
 public Connect(ISignaler signaler, ut.Stack <SqlConnection> connections, IConfiguration configuration)
 {
     _signaler      = signaler ?? throw new ArgumentNullException(nameof(signaler));
     _connections   = connections ?? throw new ArgumentNullException(nameof(connections));
     _configuration = configuration ?? throw new ArgumentNullException(nameof(configuration));
 }
示例#2
0
文件: Scalar.cs 项目: waythic/magic
 public Scalar(ut.Stack <SqlConnection> connections, ISignaler signaler)
 {
     _connections = connections ?? throw new ArgumentNullException(nameof(connections));
     _signaler    = signaler ?? throw new ArgumentNullException(nameof(signaler));
 }
示例#3
0
文件: Connect.cs 项目: waythic/magic
 public Connect(ISignaler signaler, ut.Stack <MySqlConnection> connections)
 {
     _signaler    = signaler ?? throw new ArgumentNullException(nameof(signaler));
     _connections = connections ?? throw new ArgumentNullException(nameof(connections));
 }