Пример #1
0
 public SubmissionDataAction(ISubmissionData <T> submission) =>
Пример #2
0
 static IHttpObservable Submit(IHttpObservable query, string formSelector, int?formIndex, Uri url, ISubmissionData <Unit> data) =>
 query.Html().Submit(formSelector, formIndex, url, data);
Пример #3
0
 public static SubmissionDataAction <T> Create <T>(ISubmissionData <T> submission) =>
 new SubmissionDataAction <T>(submission);
Пример #4
0
 public static IHttpObservable SubmitTo(this IHttpObservable query, Uri url, string formSelector, ISubmissionData <Unit> data) =>
 Submit(query, formSelector, null, url, data);
Пример #5
0
 public static IHttpObservable SubmitTo(this IHttpObservable query, Uri url, int formIndex, ISubmissionData <Unit> data) =>
 Submit(query, null, formIndex, url, data);
Пример #6
0
 public static IHttpObservable SubmitTo(this IHttpClient http, Uri url, ParsedHtml html, int formIndex, ISubmissionData <Unit> data) =>
 Submit(http, html, null, formIndex, url, _ => data);
Пример #7
0
 public static IHttpObservable SubmitTo(this IHttpClient http, Uri url, ParsedHtml html, string formSelector, ISubmissionData <Unit> data) =>
 Submit(http, html, formSelector, null, url, _ => data);
Пример #8
0
 internal static IHttpObservable Submit(this IObservable <HttpFetch <ParsedHtml> > query, string formSelector, int?formIndex, Uri url, ISubmissionData <Unit> data) =>
 HttpObservable.Return(
     from html in query
     select Submit(html.Client, html.Content, formSelector, formIndex, url, _ => data));
Пример #9
0
 public Sample(ISubmissionData <T> submission, NameValueCollection data) =>
 (_submission, _data) = (submission, data);
Пример #10
0
 public SubmissionController(ISerialNumbersData serialNumberData, ISubmissionData submissionData)
 {
     _serialNumbersData = serialNumberData;
     _submissionData    = submissionData;
 }