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}"); } }
public void Run(IUnityContainer Container) { LynqTest.Test(); AGeneric.ExecuteWithType(); AGeneric.ExecuteWithNoType(); PlayingWithEnumerable.Test(); }