示例#1
0
 public IteratingCommandConfig(StaticCommandConfig staticCommandConfig, IEnumerable <T> collection)
 {
     Static     = staticCommandConfig ?? throw new ArgumentNullException(nameof(staticCommandConfig));
     Collection = collection ?? throw new ArgumentNullException(nameof(collection));
 }
示例#2
0
 internal CommandEngine(StaticCommandConfig commandConfig)
 {
     this.commandConfig = commandConfig ?? throw new ArgumentNullException(nameof(commandConfig));
     configurations     = new List <Action <DbCommand> >();
 }