/* * Copyright (c) 2004, 2005 MyXaml * All Rights Reserved * * Licensed under the terms of the GNU General Public License * http://www.gnu.org/licenses/licenses.html#GPL */ using System; using System.Reflection; using System.Xml; namespace MyXaml.Core { /// <summary> /// The base class for all model managers. /// </summary> public abstract class PropertyModelBase { protected Parser parser; protected XmlNode currentNode; protected bool attributesProcessed; public Parser Parser { set {parser=value;} } public XmlNode CurrentNode { set {currentNode=value;} } public bool AttributesProcessed { get {return attributesProcessed;} set {attributesProcessed=value;} } public PropertyModelBase() { attributesProcessed=false; } public abstract object SetValue(object obj, PropertyInfo pi, object val); } }
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)