/// <summary> /// Url is the url of the docment containing the form. /// </summary> public SubmitFormular(Uri url, Formular form) : base(url) { Contract.RequiresNotNull(form, "form"); Formular = form; }
private static v2.Locating.Formular Migrate(v1.Formular formular) { var form = new v2.Locating.Formular(formular.Name); foreach (var param in formular.Parameters) { form.Parameters[param.Key] = param.Value; } return(form); }