Esempio n. 1
0
 public void SetUp()
 {
     result = new BindResult {Value = "some value"};
 }
Esempio n. 2
0
 public void Merge(BindResult result)
 {
     Problems.AddRange(result.Problems);
 }
Esempio n. 3
0
 public void Merge(BindResult result)
 {
     Problems.AddRange(result.Problems);
 }
Esempio n. 4
0
        public void SetUp()
        {
            // Lots of stuff to put together, so I'm just using a minimalistic
            // container to do it for me because I'm lazy -- JDM 2/12/2010
            IContainer container = StructureMapContainerFacility.GetBasicFubuContainer();
            binder = container.GetInstance<StandardModelBinder>();

            context = new InMemoryBindingContext();

            result = null;
        }