Example #1
0
 public void SetUp()
 {
     result = new BindResult {Value = "some value"};
 }
Example #2
0
 public void Merge(BindResult result)
 {
     Problems.AddRange(result.Problems);
 }
Example #3
0
 public void Merge(BindResult result)
 {
     Problems.AddRange(result.Problems);
 }
        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;
        }