示例#1
0
        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));
        }
示例#2
0
 public RunSetActionSendDataToExternalSourceOperations(RunSetActionSendDataToExternalSource runSetActionSendDataToExternalSource)
 {
     this.RunSetActionSendDataToExternalSource = runSetActionSendDataToExternalSource;
     this.RunSetActionSendDataToExternalSource.RunSetActionSendDataToExternalSourceOperations = this;
 }