comparison Implab.Playground/Program.cs @ 274:22629bf26121 v3

Unity xml configuration, alpha2
author cin
date Fri, 27 Apr 2018 04:47:52 +0300
parents 79110a16cab7
children 963b17c275be
comparison
equal deleted inserted replaced
273:79110a16cab7 274:22629bf26121
48 48
49 static void Main(string[] args) { 49 static void Main(string[] args) {
50 var stopwatch = new Stopwatch(); 50 var stopwatch = new Stopwatch();
51 stopwatch.Start(); 51 stopwatch.Start();
52 52
53 var ctx = new ContainerContext(); 53 var ctx = new ContainerBuilder();
54 54
55 Console.WriteLine($"Created: {stopwatch.ElapsedMilliseconds}"); 55 Console.WriteLine($"Created: {stopwatch.ElapsedMilliseconds}");
56 56
57 ctx.LoadConfig("data/sample.xml"); 57 ctx.LoadConfig("data/sample.xml");
58 58