Exemplo n.º 1
0
        public void Visit(AbstractSection section)
        {
            if (!typeof(IChartSection).IsAssignableFrom(section.GetType()))
            {
                return;
            }

            Sections.Add(section);
        }
Exemplo n.º 2
0
        public void Visit( AbstractSection section )
        {
            if ( !typeof( IChartSection ).IsAssignableFrom( section.GetType() ) )
            {
                return;
            }

            Sections.Add( section );
        }
Exemplo n.º 3
0
            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 );
            }