コード例 #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());
        }
コード例 #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());
        }
コード例 #3
0
 public string get_querystring_data(QueryStringModel model)
 {
     return(model.ToString());
 }
コード例 #4
0
 public string get_querystring_data(QueryStringModel model)
 {
     return model.ToString();
 }