Esempio n. 1
0
            public void Works()
            {
                var binders = new ModelBinderDictionary();

                IntegerModelBinder.Register(binders);
                Assert.AreEqual(14, binders.Count);
                Assert.IsTrue(binders.All(b => b.Value.GetType().Name == "IntegerModelBinder`1"));
            }