protected override void When()
 {
     var binder = BinderCollection.FindBinderFor("guido", typeof(Guid), this.Request, null);
     bindingResult = binder.Bind("guido", typeof(Guid), this.Request, false, null);
     target = bindingResult.Result;
 }
コード例 #2
0
 protected override void When()
 {
     var binder = BinderCollection.FindBinderFor(null, typeof(TestClass), this.Request, null);
     this.bindingResult = binder.Bind("parameter", typeof(TestClass), this.Request, false, null);
 }