Exemple #1
0
        static void Main(string[] args)
        {
            var list = new List <CoreControler>();

            for (int i = 0; i < 1; i++)
            {
                var controler = CoreFactory.Create();
                controler.Initialize(new CoreConfiguration()
                {
                    Name = "Test Core " + i
                });
                list.Add(controler);
            }
            list.ForEach(i => Console.WriteLine(i));
            list.ForEach(i => i.Dispose());
            Console.WriteLine("END");
            Console.ReadLine();
        }