public void Traverse(IVisitor visitor) { if (visitor == null) { throw new ArgumentNullException("visitor"); } visitor.PerformBefore(this); m_fieldSpec.Traverse(visitor); visitor.PerformOnSource(this); m_source.Traverse(visitor); visitor.PerformAfter(this); }
public void Traverse(IVisitor visitor) { if (visitor == null) { throw new ArgumentNullException("visitor"); } visitor.PerformBefore(this); m_value.Traverse(visitor); visitor.PerformOnUnit(this); m_dateTimeUnit.Traverse(visitor); visitor.PerformAfter(this); }