public static List AssertAsArray()

in csharp/core/Common.cs [379:394]


        public static List<object> AssertAsArray(object obj)
        {
            if (obj is IList)
            {
                var list = (IList)obj;
                var result = new List<object>();
                foreach (var item in list)
                {
                    result.Add(item);
                }

                return result;

            }
            throw new ArgumentException("The value is not list");
        }