Exemplo n.º 1
0
        public void SetUp()
        {
            theAccessorProjection = AccessorProjection<ValueTarget>.For(x => x.Age);
            _theValues = new SimpleValues<ValueTarget>(new ValueTarget
            {
                Age = 37
            });

            theMediaNode = XmlAttCentricMediaNode.ForRoot("root");
        }
Exemplo n.º 2
0
        public void SetUp()
        {
            anAddress = new Address{
                Line1 = "22 Cherry Lane",
                City = "Austin",
                State = "TX",
                ZipCode = "78703"
            };

            aTarget = new SimpleValues<Address>(anAddress);
            aNode = XmlAttCentricMediaNode.ForRoot("root");
        }