StoryTeller.AggregateLineExecution.AggregateLineExecution C# (CSharp) Method

AggregateLineExecution() public method

public AggregateLineExecution ( IEnumerable lines ) : System
lines IEnumerable
return System
        public AggregateLineExecution(IEnumerable<ILineExecution> lines)
        {
            if (lines == null || !lines.Any())
            {
                throw new ArgumentNullException(nameof(lines));
            }

            _lines = lines.ToArray();
            Id = lines.First().Id;

        }