protected ServiceAction(IEnumerable <Argument> arguments, ServiceActionExecutor executor) { if (executor == null) { throw new ArgumentNullException("executor"); } this.arguments = Helper.MakeReadOnlyCopy <string, Argument> (arguments); this.executor = executor; }
public ServiceAction(string name, IEnumerable <Argument> arguments, ServiceActionExecutor executor) : this(arguments, executor) { Name = name; }