public SequenceUnit(APICategory cat, APIUnit api, List <APIUnit> consumers) { Category = cat; API = api; Consumers = new List <APIUnit>(); if (consumers != null && consumers.Count > 0) { Consumers.AddRange(consumers); } }
public SequenceUnit(APICategory cat, APIUnit api) { Category = cat; API = api; Consumers = new List <APIUnit>(); }