コード例 #1
0
 public void matches_by_object_property_type_negative()
 {
     var binder = new PassthroughConverter<HttpPostedFileBase>();
     binder.Matches(property(x => x.File3)).ShouldBeFalse();
 }
コード例 #2
0
 public void matches_by_property_type_positive()
 {
     var binder = new PassthroughConverter<HttpPostedFileBase>();
     binder.Matches(property(x => x.File)).ShouldBeTrue();
 }
コード例 #3
0
        public void matches_by_property_type_negative()
        {
            var binder = new PassthroughConverter <HttpPostedFileBase>();

            binder.Matches(property(x => x.File2)).ShouldBeFalse();
        }