Beispiel #1
0
 internal static IModuleInfo V2C(VModuleInfo view)
 {
     if (!System.Runtime.Remoting.RemotingServices.IsObjectOutOfAppDomain(view) &&
         (view.GetType().Equals(typeof(ModuleInfoC2V))))
     {
         return ((ModuleInfoC2V)(view)).GetSourceContract();
     }
     else
     {
         return new ModuleInfoV2C(view);
     }
 }