namespace Connected.Collections.Iterators; internal class ListIterator : IIterator { public ListIterator(object value) { } public object? Result => throw new NotImplementedException(); public object Current => throw new NotImplementedException(); public static bool CanHandle(object value) { var arguments = value.GetType().GetGenericArguments(); var list = typeof(IList<>).MakeGenericType(arguments); return value.GetType() == list; } public void Add(object value) { throw new NotImplementedException(); } public bool MoveNext() { throw new NotImplementedException(); } public void Reset() { throw new NotImplementedException(); } }