diff Implab.Playground/Program.cs @ 280:f07be402ab02 v3

Added Trace<T>.Debug(...) method for debug messages Added ContainerBuilde.LoadConfig(Uri) method
author cin
date Fri, 25 May 2018 19:15:26 +0300
parents 8714471e8d78
children
line wrap: on
line diff
--- a/Implab.Playground/Program.cs	Fri May 04 18:12:42 2018 +0300
+++ b/Implab.Playground/Program.cs	Fri May 25 19:15:26 2018 +0300
@@ -89,6 +89,17 @@
     public class Program {
 
         static void Main(string[] args) {
+            var u1 = new Uri("/some/one");
+
+            Console.WriteLine($"{u1.IsAbsoluteUri}: {u1}");
+
+            var u2 = new Uri(u1, "../../two");
+
+            Console.WriteLine($"{u2.IsAbsoluteUri}: {u2}");
+
+        }
+
+        static void Main2(string[] args) {
             var listener = new SimpleTraceListener(Console.Out);
             var source = Trace<TypeResolver>.TraceSource;
             source.Switch.Level = SourceLevels.All;