//
        // 処理確認用実行メソッド
        //
        public void Execute()
        {
            var col1 = new SampleCollection1();

            foreach (var val in col1)
            {
                Output.WriteLine(val);
            }

            AddNewLine();

            var col2 = new SampleCollection2();

            foreach (var val in col2)
            {
                Output.WriteLine(val);
            }

            AddNewLine();

            var col3 = new SampleCollection3();

            foreach (var val in col3.InOrder)
            {
                Output.WriteLine(val);
            }

            AddNewLine();

            var col4 = new SampleCollection4();

            foreach (var val in col4.InOrder)
            {
                Output.WriteLine(val);
            }

            foreach (var val in col4.ReverseOrder)
            {
                Output.WriteLine(val);
            }

            AddNewLine();

            var col5 = new SampleCollection5();

            foreach (var val in col5.InOrderWithBreak)
            {
                Output.WriteLine(val);
            }

            AddNewLine();

            foreach (var val in Filter(Judge, AddCount(Upper(Range(10, "value")))))
            {
                Output.WriteLine(val);
            }
        }
示例#2
0
        //
        // 処理確認用実行メソッド
        //
        public void Execute()
        {
            var col1 = new SampleCollection1();
            foreach (var val in col1)
            {
                Output.WriteLine(val);
            }

            AddNewLine();

            var col2 = new SampleCollection2();
            foreach (var val in col2)
            {
                Output.WriteLine(val);
            }

            AddNewLine();

            var col3 = new SampleCollection3();
            foreach (var val in col3.InOrder)
            {
                Output.WriteLine(val);
            }

            AddNewLine();

            var col4 = new SampleCollection4();
            foreach (var val in col4.InOrder)
            {
                Output.WriteLine(val);
            }

            foreach (var val in col4.ReverseOrder)
            {
                Output.WriteLine(val);
            }

            AddNewLine();

            var col5 = new SampleCollection5();
            foreach (var val in col5.InOrderWithBreak)
            {
                Output.WriteLine(val);
            }

            AddNewLine();

            foreach (var val in Filter(Judge, AddCount(Upper(Range(10, "value")))))
            {
                Output.WriteLine(val);
            }
        }