public static AmlCollection Of(params IEnumerable <AmlElement>[] collections) { var collection = new AmlCollection(); foreach (var amlCollection in collections) { collection.Add(amlCollection); } return(collection); }
public static AmlCollection Of(params AmlElement[] elements) { var collection = new AmlCollection(); foreach (var element in elements) { collection.Add(element); } return(collection); }