public RunSetActionSendDataToExternalSourceEditPage(RunSetActionSendDataToExternalSource RunSetActionSendData) { InitializeComponent(); this.runSetActionSendData = RunSetActionSendData; mContext.RunsetAction = runSetActionSendData; mContext.Environment = WorkSpace.Instance.RunsetExecutor.RunsetExecutionEnvironment; xEndPointURLTextBox.Init(mContext, runSetActionSendData, nameof(RunSetActionSendDataToExternalSource.EndPointUrl)); xJsonBodyTextBox.Init(mContext, runSetActionSendData, nameof(RunSetActionSendDataToExternalSource.RequestBodyJson)); xJsonBodyTextBox.AdjustHight(100); CurrentTemplatePickerCbx_Binding(); SetHeadersGridView(); SetBodyGridView(); grdRequestHeaders.btnAdd.AddHandler(Button.ClickEvent, new RoutedEventHandler(AddHeaderParamButton)); grdRequestBody.btnAdd.AddHandler(Button.ClickEvent, new RoutedEventHandler(AddBodyParamButton)); }
public RunSetActionSendDataToExternalSourceOperations(RunSetActionSendDataToExternalSource runSetActionSendDataToExternalSource) { this.RunSetActionSendDataToExternalSource = runSetActionSendDataToExternalSource; this.RunSetActionSendDataToExternalSource.RunSetActionSendDataToExternalSourceOperations = this; }