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