예제 #1
0
        /// <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;
        }
예제 #2
0
        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);
        }