Exemplo n.º 1
0
        public void PlaceHolder()
        {
            var op = new PlaceHolder <double>("one");

            var xml          = op.ToXml();
            var deserialized = SerializationExtensions.FromXml <double>(xml) as PlaceHolder <double>;

            Assert.IsNotNull(deserialized);
            Assert.AreEqual(op.Name, deserialized.Name);
        }