Example #1
0
 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);
     }
 }
Example #2
0
 public SequenceUnit(APICategory cat, APIUnit api)
 {
     Category  = cat;
     API       = api;
     Consumers = new List <APIUnit>();
 }