Exemplo n.º 1
0
        public static void Test()
        {
            PlayingWithEnumerable toy = new PlayingWithEnumerable();

            _logger.Info($"Test with -1:");
            foreach (var d in toy.GetData(-1))
            {
                _logger.Info($"\t=>\t{d}");
            }

            _logger.Info($"Test with 0:");
            foreach (var d in toy.GetData(0))
            {
                _logger.Info($"\t=>\t{d}");
            }

            _logger.Info($"Test with 1:");
            foreach (var d in toy.GetData(1))
            {
                _logger.Info($"\t=>\t{d}");
            }

            _logger.Info($"Test with 10");
            foreach (var d in toy.GetData(10))
            {
                _logger.Info($"\t=>\t{d}");
            }
        }
Exemplo n.º 2
0
        public void Run(IUnityContainer Container)
        {
            LynqTest.Test();
            AGeneric.ExecuteWithType();
            AGeneric.ExecuteWithNoType();

            PlayingWithEnumerable.Test();
        }