internal static IOperation V2C(VOperation view) { if (view == null) { return(null); } if (!System.Runtime.Remoting.RemotingServices.IsObjectOutOfAppDomain(view) && (view.GetType().Equals(typeof(OperationC2V)))) { return(((OperationC2V)(view)).GetSourceContract()); } else { return(new OperationV2C(view)); } }
public OperationV2C(VOperation view) { _view = view; }