/// <summary>Walker action. Just gets a property.</summary>
        /// <param name="atom">object to set the property on </param>
        /// <returns>returns the value of the ShouldBePersisted() of the object</returns>
        public bool Go(AtomBase atom)
        {
            Tracing.Assert(atom != null, "atom should not be null");
            if (atom == null)
            {
                throw new ArgumentNullException("atom");
            }

            bool f = atom.ShouldBePersisted();

            return(f);
        }
        //////////////////////////////////////////////////////////////////////
        /// <summary>Walker action. Just gets a property.</summary>
        /// <param name="atom">object to set the property on </param>
        /// <returns>returns the value of the ShouldBePersisted() of the object</returns>
        //////////////////////////////////////////////////////////////////////
        public bool Go(AtomBase atom)
        {
            Tracing.Assert(atom != null, "atom should not be null");
            if (atom == null)
            {
                throw new ArgumentNullException("atom");
            }

            bool f = atom.ShouldBePersisted();

            Tracing.TraceInfo(atom.ToString() + " ... is persistable: " + f.ToString());
            return(f);
        }
Exemple #3
0
 //////////////////////////////////////////////////////////////////////
 /// <summary>Walker action. Just gets a property.</summary> 
 /// <param name="atom">object to set the property on </param>
 /// <returns>returns the value of the ShouldBePersisted() of the object</returns>
 //////////////////////////////////////////////////////////////////////
 public bool Go(AtomBase atom)
 {
     Tracing.Assert(atom != null, "atom should not be null");
     if (atom == null)
     {
         throw new ArgumentNullException("atom"); 
     }
     
     bool f = atom.ShouldBePersisted(); 
     Tracing.TraceInfo(atom.ToString() + " ... is persistable: " + f.ToString()); 
     return f; 
 }