예제 #1
0
        public static AmlCollection Of(params IEnumerable <AmlElement>[] collections)
        {
            var collection = new AmlCollection();

            foreach (var amlCollection in collections)
            {
                collection.Add(amlCollection);
            }

            return(collection);
        }
예제 #2
0
        public static AmlCollection Of(params AmlElement[] elements)
        {
            var collection = new AmlCollection();

            foreach (var element in elements)
            {
                collection.Add(element);
            }

            return(collection);
        }