Пример #1
0
        protected void ValidateOrder(ReferenceNode <MockItem, int> node, Action <ValueNode <MockItem>, int> expectedException = null)
        {
            var root = node.Root();

            var enu =
                new LowRefsEnumerable <MockItem, int>();

            foreach (var @ref in enu.AllFrom(root))
            {
                ValidateOrder(@ref.Values, expectedException);
            }
        }