StoryTeller.AggregateLineExecution.AggregateLineExecution C# (CSharp) 메소드

AggregateLineExecution() 공개 메소드

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

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

        }