public static IGame Convert(SurrogateForIGame value)
 {
     if (value == null)
     {
         return(null);
     }
     return(new GameRef(value.Target));
 }
 public static IGame Convert(SurrogateForIGame value)
 {
     if (value == null) return null;
     return new GameRef(value.Target);
 }