Beispiel #1
0
        public static VArray CreateArray(params object[] arrayItems)
        {
            var values     = arrayItems.Select(Create);
            var collection = new VArray(values);

            return(collection);
        }
Beispiel #2
0
        public static VArray CreateArray(IEnumerable enumerable)
        {
            var items      = enumerable.Cast <object>();
            var values     = items.Select(Create);
            var collection = new VArray(values);

            return(collection);
        }