internal static IParamType V2C(VParamType view)
 {
     if (!System.Runtime.Remoting.RemotingServices.IsObjectOutOfAppDomain(view) &&
         (view.GetType().Equals(typeof(ParamTypeC2V))))
     {
         return(((ParamTypeC2V)(view)).GetSourceContract());
     }
     else
     {
         return(new ParamTypeV2C(view));
     }
 }
Exemple #2
0
 internal static IParamType V2C(VParamType view)
 {
     if (!System.Runtime.Remoting.RemotingServices.IsObjectOutOfAppDomain(view) &&
         (view.GetType().Equals(typeof(ParamTypeC2V))))
     {
         return ((ParamTypeC2V)(view)).GetSourceContract();
     }
     else
     {
         return new ParamTypeV2C(view);
     }
 }
 public ParamTypeV2C(VParamType view)
 {
     _view = view;
 }
 public ParamTypeV2C(VParamType view)
 {
     _view = view;
 }