public void Visit(AbstractSection section) { if (!typeof(IChartSection).IsAssignableFrom(section.GetType())) { return; } Sections.Add(section); }
public void Visit( AbstractSection section ) { if ( !typeof( IChartSection ).IsAssignableFrom( section.GetType() ) ) { return; } Sections.Add( section ); }
public void Visit(AbstractSection section) { if (!typeof(GenericChartSection).IsAssignableFrom(section.GetType())) { return; } if (!myIndicators.Contains(section.Name)) { return; } Sections.Add((GenericChartSection)section); }
public void Visit( AbstractSection section ) { if ( !typeof( GenericChartSection ).IsAssignableFrom( section.GetType() ) ) { return; } if ( !myIndicators.Contains( section.Name ) ) { return; } Sections.Add( (GenericChartSection)section ); }