protected override void InternalExecute(INode sender, EventParams paramsValue) { // Fetch the data params from the clipboard and deserialize them DataParams localParamsValue = DataParamSerializer.SerializableParamDataToDataParams ( HostNode.Session.DataSession.UtilityProcess, (SerializableParamData)Clipboard.GetData(ClipboardFormatName) ); // Change the params to be out foreach (DataParam param in localParamsValue) { param.Modifier = Modifier.Out; } // Apply the params BaseArgument.ApplyArguments(this, localParamsValue); }
protected override void InternalExecute(INode sender, EventParams paramsValue) { // Collect the params DataParams localParamsValue = BaseArgument.CollectArguments(this); // Serialize the params and place them on the clipboard if (localParamsValue != null) { Clipboard.SetData ( ClipboardFormatName, DataParamSerializer.DataParamsToSerializableParamData ( HostNode.Session.DataSession.UtilityProcess, localParamsValue ) ); } }