Ejemplo n.º 1
0
        public void can_bind_against_querystring_parameters()
        {
            var model = new QueryStringModel{
                Color = "Green",
                Direction = "South"
            };

            Harness.Endpoints.GetByInput(model).ReadAsText()
                .ShouldEqual(model.ToString());
        }
Ejemplo n.º 2
0
        public void can_bind_against_querystring_parameters()
        {
            var model = new QueryStringModel {
                Color     = "Green",
                Direction = "South"
            };

            Harness.Endpoints.GetByInput(model).ReadAsText()
            .ShouldEqual(model.ToString());
        }
        public void can_bind_against_querystring_parameters()
        {
            TestHost.Scenario(_ =>
            {
                var model = new QueryStringModel
                {
                    Color     = "Green",
                    Direction = "South"
                };

                _.Get.Input(model);
                _.ContentShouldBe(model.ToString());
            });
        }
        public void can_bind_against_querystring_parameters()
        {
            TestHost.Scenario(_ =>
            {
                var model = new QueryStringModel
                {
                    Color = "Green",
                    Direction = "South"
                };

                _.Get.Input(model);
                _.ContentShouldBe(model.ToString());
            });
        }
Ejemplo n.º 5
0
 public string get_querystring_data(QueryStringModel model)
 {
     return model.ToString();
 }
 public string get_querystring_data(QueryStringModel model)
 {
     return(model.ToString());
 }