예제 #1
0
 public static IGreeterWithObserver Convert(SurrogateForIGreeterWithObserver value)
 {
     if (value == null)
     {
         return(null);
     }
     return(new GreeterWithObserverRef(value.Target));
 }
 public static IGreeterWithObserver Convert(SurrogateForIGreeterWithObserver value)
 {
     if (value == null) return null;
     return new GreeterWithObserverRef(value.Target);
 }