[Quantproject-developers] QuantProject/b4_Business/a0_Validation/Validators OHLCvalidator.cs,1.1,1.2
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2004-05-08 17:07:59
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a0_Validation/Validators In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5698/b4_Business/a0_Validation/Validators Modified Files: OHLCvalidator.cs Log Message: The new Quotes DataTable class is used for quotes to be validated Index: OHLCvalidator.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a0_Validation/Validators/OHLCvalidator.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** OHLCvalidator.cs 29 Apr 2004 12:29:31 -0000 1.1 --- OHLCvalidator.cs 8 May 2004 17:07:50 -0000 1.2 *************** *** 2,5 **** --- 2,6 ---- using System.Data; using QuantProject.Business.Validation; + using QuantProject.Data.DataTables; namespace QuantProject.Business.Validation.Validators *************** *** 61,67 **** /// </summary> /// <param name="dataTable">Quote rows to be validated</param> ! public void Validate( DataTable dataTable ) { ! foreach ( DataRow quotesRow in dataTable.Rows ) this.validate_currentQuotesRow( quotesRow ); } --- 62,68 ---- /// </summary> /// <param name="dataTable">Quote rows to be validated</param> ! public void Validate( Quotes quotes ) { ! foreach ( DataRow quotesRow in quotes.Rows ) this.validate_currentQuotesRow( quotesRow ); } |