Beispiel #1
0
 public static Demo Synchronized(Demo d)
 {
     if (!d.IsSynchronized)
     {
         return new SynchronizedDemo(d);
     }
     return d;
 }
Beispiel #2
0
 public SynchronizedDemo(Demo d)
 {
     this.d = d;
 }