public void AddOperator(string dataSource, IPriceSeriesOperator op)
        {
            if (!myOperators.ContainsKey(dataSource))
            {
                myOperators[dataSource] = new List <IPriceSeriesOperator>();
            }

            myOperators[dataSource].Add(op);
        }
        public void AddOperator( string dataSource, IPriceSeriesOperator op )
        {
            if ( !myOperators.ContainsKey( dataSource ) )
            {
                myOperators[ dataSource ] = new List<IPriceSeriesOperator>();
            }

            myOperators[ dataSource ].Add( op );
        }
 public static ApplyOperatorSyntax ApplyOperator( this PriceSeriesDataSourceFactory self, IPriceSeriesOperator op )
 {
     return new ApplyOperatorSyntax( self, op );
 }
 public ApplyOperatorSyntax( PriceSeriesDataSourceFactory factory, IPriceSeriesOperator op )
 {
     myFactory = factory;
     myOperator = op;
 }
 public void AddOperator(IPriceSeriesOperator op)
 {
     AddOperator(string.Empty, op);
 }
Example #6
0
 public ApplyOperatorSyntax(PriceSeriesDataSourceFactory factory, IPriceSeriesOperator op)
 {
     myFactory  = factory;
     myOperator = op;
 }
Example #7
0
 public static ApplyOperatorSyntax ApplyOperator(this PriceSeriesDataSourceFactory self, IPriceSeriesOperator op)
 {
     return(new ApplyOperatorSyntax(self, op));
 }
 public void AddOperator( IPriceSeriesOperator op )
 {
     AddOperator( string.Empty, op );
 }