private void PerformRequest() { OFXRequest request = BuildRequest(); OFXResponse response = OFXClient.Instance.PostRequest(request); FetchHandler?.Invoke(this, new FetchEventArgs(request, response)); }
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; }
public FetchEventArgs(OFXRequest request, OFXResponse response) { Request = request; Response = response; }