protected bool IsDifferent() { IPersistence current = new XmlPersistenceImpl(FullPath, true); IBaseNodeInterface.Persist(current); IPersistence existing = new XmlPersistenceImpl(FullPath); return(current.RawContent != existing.RawContent); }
bool IDecisionTree.Load(IPersistence persistence, string fullName) { if (IBaseNodeInterface.Retrieve(persistence)) { FullPath = persistence.Name != "" ? persistence.Name : fullName; return(true); } return(false); }
bool IDecisionTree.Save(IPersistence persistence, string fullName) { FullPath = persistence.Name != "" ? persistence.Name : fullName; return(IBaseNodeInterface.Persist(persistence)); }