Example #1
0
        public override XElement SerializeItem(object item, object parentItem)
        {
            LeitchRouterOutput output = item as LeitchRouterOutput;

            if (output == null)
            {
                return(null);
            }
            XElement serializedOutput = base.SerializeItem(item, parentItem);

            return(serializedOutput);
        }
Example #2
0
        public override object DeserializeItem(XmlNode serializedItem, object parentItem)
        {
            LeitchRouterOutput restoredOutput = base.DeserializeItem(serializedItem, parentItem) as LeitchRouterOutput;

            return(restoredOutput);
        }