using System; using System.Collections.Generic; using System.Text; namespace Pegasus.UnitTests.Runtime.Serialization.Formatters.Xml.XmlFormatter2Tests { /// <summary> /// Test class for derived serializable classes /// </summary> [Serializable] public class SerializationChild : SerializationRoot { // Local Instance Values private SerializationRoot m_otherObject = null; private int m_count; [NonSerialized] private int m_nonCount = 5; /// <summary> /// Initializes a new instance of the <see cref="T:SerializationChild"/> class. /// </summary> public SerializationChild() { } /// <summary> /// Gets or sets the other object. /// </summary> /// <value>The other object.</value> public SerializationRoot OtherObject { get { return m_otherObject; } set { m_otherObject = value; } } /// <summary> /// Gets or sets the count. /// </summary> /// <value>The count.</value> public int Count { get { return m_count; } set { m_count = value; } } /// <summary> /// Gets or sets the nonserialize count. /// </summary> /// <value>The nonserialize count.</value> public int NonserializeCount { get { return m_nonCount; } set { m_nonCount = value; } } } }
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)