Esempio n. 1
0
        private void PerformRequest()
        {
            OFXRequest  request  = BuildRequest();
            OFXResponse response = OFXClient.Instance.PostRequest(request);

            FetchHandler?.Invoke(this, new FetchEventArgs(request, response));
        }
Esempio n. 2
0
        private void OnFetch(object sender, FetchEventArgs e)
        {
            OFXRequest request = e.Request;


            OFXResponse response = e.Response;

            rtbRaw.Text = response.Raw;
            if (response.Success)
            {
                //Graphical stuff
            }
            tcMain.SelectedTab = tabpageRaw;
        }
Esempio n. 3
0
 public FetchEventArgs(OFXRequest request, OFXResponse response)
 {
     Request  = request;
     Response = response;
 }